URGENT HELP NEEDED


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: URGENT HELP NEEDED

  1. #1
    ADIL NORAT Guest

    URGENT HELP NEEDED


    HI MY NAME IS ADIL AND I WAS WONDERING IF YOU COULD HELP ME WITH THE
    > FOLLOWING TASKS AND THAT YOU COULD EMAIL ME TH ANSWERS TO
    >
    > adn1@dcs.qmw.ac.uk
    >
    > A class called Vehicle is required by a programmer who is writing
    > software for a car dealer. An object of the class Vehicle will
    > consist of a registration number, the make of the vehicle, the
    > year of manufacture and the current value of the vehicle.
    >
    > Methods should be provided to read each of these values from an object.
    > There should also be a method which accepts a year as input, and returns
    > the age of the vehicle.
    >
    > First, design and code the class Vehicle.
    >
    > Second, design and code a subclass called SecondHand Vehicle.
    > This subclass should have an attribute (and method) that keeps track
    > of the number of owners it has had. In this method, override
    > the method that returns age, so that it returns the average
    > amount of time it has served with each owner.
    >
    > Third, write a menu-driven program that offers the following options:
    > 1. Add a vehicle
    > 2. display a list of vehicle details, including age/owners.
    > 3. delete a vehicle
    > 4. quit
    >
    > When you add a vehicle you should let the user decide whether it
    > is second hand or not.
    >
    > i would be really grateful if you could help me answer this and return
    > it to me by THURSDAY the 15th of FEBRUARY.
    >
    > THANK YOU very much
    >
    > ADIL


  2. #2
    Greg Davis Guest

    Re: URGENT HELP NEEDED

    Adil,

    Since you signed up for the class I think you are expected to complete the
    assignment. I think you would find more than enough help here if you
    attempt the assignment and then ask questions when you have a problem with
    what you've attempted.


    "ADIL NORAT" <adn1@dcs.qmw.ac.uk> wrote in message
    news:3a86871b$1@news.devx.com...
    >
    > HI MY NAME IS ADIL AND I WAS WONDERING IF YOU COULD HELP ME WITH THE
    > > FOLLOWING TASKS AND THAT YOU COULD EMAIL ME TH ANSWERS TO
    > >
    > > adn1@dcs.qmw.ac.uk
    > >


    <Snipped Homework assignment>

    > > THANK YOU very much
    > >
    > > ADIL




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center