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.... :sad:

Recommended Answers

All 3 Replies

Take the answers from your other threads, and substitute "int setScheduledTime" for whatever the type and method name in those threads are.

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.

Member Avatar for iamthwee

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.... :sad:

You won't get any free help without trying it for yourself. Please try and have a go before you post. Thanq.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.