Setter method doesnt work : <p>my problem is the other two parametere doesnt work and just first parametere repeat in output?!</p>

<p>here is the main class:</p>

<pre><code>public static void main(String[] args) {
    Time object = new Time(8, 60, 13);
    System.out.println(object.getHour()+ ":" + object.getMinute() + ":" + object.getSecond());
}
</code></pre>

<p>and here is my Class:</p>

<pre><code>public class Time {
private int hour;
private int minute;
private int second;

    public int getHour(){
    return hour;
}
public void setHour(int h){
    hour = h;
}
public int getMinute(){
    return hour;
}
public void setMinute(int m){
    minute = m;
}
public int getSecond(){
    return hour;
}
public void setSecond(int s){
    second = s;
}
public Time(int h,int m,int s){
    setHour(h);
    setMinute(m);
    setSecond(s);
}
</code></pre>
