public void getTime(int t) {
System.out.println("Set the timer value in seconds");
t = input.nextInt();
}
That method does exactly nothing. You never use t.
Type: Posts; User: PhHein
public void getTime(int t) {
System.out.println("Set the timer value in seconds");
t = input.nextInt();
}
That method does exactly nothing. You never use t.