Correct me, if I'm wrong:
1. You creating new "clock" and setting it to 0.
Time application = new Time();
application.TimeTest(0, 0, 0);
2. Then while setting the hours creating 2 more clocks.
Time application2 = new Time(); application2.setHours(input.nextInt());
and
Time app = new Time();
app.getHours();
Here is your problem: you setting hours to the clock-2 and getting it (hours) from clock-3.
So what if you can see the darkest side of me?
No one would ever change this animal I have become
Help me believe it's not the real me
Somebody help me tame this animal