set time in int

Reply

Join Date: Oct 2006
Posts: 15
Reputation: THK is an unknown quantity at this point 
Solved Threads: 0
THK's Avatar
THK THK is offline Offline
Newbie Poster

set time in int

 
0
  #1
Oct 10th, 2006
i have to set the time in minutes when this plane is expected to land or take-off. and i have to use method int..:eek:

public int setScheduledTime() {

}


what should i do....
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 229
Reputation: DavidRyan is an unknown quantity at this point 
Solved Threads: 11
DavidRyan's Avatar
DavidRyan DavidRyan is offline Offline
Posting Whiz in Training

Re: set time in int

 
0
  #2
Oct 10th, 2006
Take the answers from your other threads, and substitute "int setScheduledTime" for whatever the type and method name in those threads are.
Last edited by DavidRyan; Oct 10th, 2006 at 4:08 am.
Please anyone, correct me if I am wrong. It is the best way for me to learn.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 95
Reputation: cms271828 is an unknown quantity at this point 
Solved Threads: 3
cms271828 cms271828 is offline Offline
Junior Poster in Training

Re: set time in int

 
0
  #3
Oct 10th, 2006
You need to think carefully when you write your method.
It's a set method, so whats the return type (look at your other set methods)
You want to set a new time, so you will need to pass the new time in as an argument.
Its exactly the same as any other set method.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 376
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: set time in int

 
0
  #4
Oct 11th, 2006
Originally Posted by THK View Post
i have to set the time in minutes when this plane is expected to land or take-off. and i have to use method int..:eek:

public int setScheduledTime() {

}


what should i do....
You won't get any free help without trying it for yourself. Please try and have a go before you post. Thanq.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC