if (arrival.toMinutes()
The variable: arrival is not a class object. It is an int. ints do not have methods.
The variable: hours is a class variable that only exists when there is an instance...
Type: Posts; User: Norm
if (arrival.toMinutes()
The variable: arrival is not a class object. It is an int. ints do not have methods.
The variable: hours is a class variable that only exists when there is an instance...
Please copy full text of error message and paste it here. Here is a sample:
TestSorts.java:138: cannot find symbol
symbol : variable var
location: class TestSorts
var = 2;
...