View Single Post
Join Date: Nov 2008
Posts: 249
Reputation: Antenka has a spectacular aura about Antenka has a spectacular aura about Antenka has a spectacular aura about 
Solved Threads: 65
Antenka's Avatar
Antenka Antenka is offline Offline
Posting Whiz in Training

Re: Simple Java Help

 
0
  #6
Nov 19th, 2008
You can output them:
  1. System.out.println(application2.setHours(input.nextInt()));
or check, if the setting passed correctly
  1. if(application2.setHours(input.nextInt())))
  2. {//all good}
  3. else {//something wrong}
Also you can save that value to variable:
  1. Boolean settingStatus = application2.setHours(input.nextInt()));
Last edited by Antenka; Nov 19th, 2008 at 4:28 pm.
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
Reply With Quote