Did you print the value that was in str? What printed?
What value was printed for secondsPassed?
Please copy the value that were printed and paste it here.
Nothing in the program will execute...
Type: Posts; User: Norm
Did you print the value that was in str? What printed?
What value was printed for secondsPassed?
Please copy the value that were printed and paste it here.
Nothing in the program will execute...
The code won't call System.exit if there is a value in str.
What is the value in str and what is the value in secondsPassed when the if statement is executed?
Why do you say that?
What are the values in str and secondsPassed when the if statement is executed? Add a print statement that prints their values so you can see what the program sees when it...