The Artima Developer Community
Sponsored Link

Java Answers Forum
Design and implement a class

2 replies on 1 page. Most recent reply: Aug 21, 2002 5:55 AM by Trina

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Trina

Posts: 4
Nickname: tweet
Registered: Aug, 2002

Design and implement a class Posted: Aug 20, 2002 5:41 AM
Reply to this message Reply
Advertisement
Ayone care to help with this exercise....

Design and implement a program (FerryCaptain) which carries out the following:

1. Instantiates a CarFerry object called StenaFerry;
2. Initialises currentDrive to neutral and bowDoors to open
3. Closes the bow doors
4. Engages the reverse drive
5. Engages forward drive
6. Disengages drive
7. Open the bow doors.

Any help would be much appreciated...Thanks


David Garton

Posts: 3
Nickname: davidkiwi
Registered: Aug, 2002

Re: Design and implement a class Posted: Aug 20, 2002 2:04 PM
Reply to this message Reply
does this have a GUI or is it all run off the command line?

Trina

Posts: 4
Nickname: tweet
Registered: Aug, 2002

Re: Design and implement a class Posted: Aug 21, 2002 5:55 AM
Reply to this message Reply
hi,

thanks 4 replying. im actually doing this in theory lesson. i just have to show the answer in java implemenmtation and the PDL for it.

thanks

Flat View: This topic has 2 replies on 1 page
Topic: GridLayout used in program problem HELP!! Previous Topic   Next Topic Topic: Reading From File

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use