1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Java Application

Discussion in 'Programming' started by TheObject, Jul 9, 2006.

  1. #1
    Somebody with a lot of time and addicted with java:

    Define a class called Parking that has the following properties: CarPlateno of String type, Hours of parking, Parking rate per hour. Include appropriate accessors, mutators and constructor(s) as well as a method to change the car’s information.

    Define a class called Carpark that has the following properties:
    i.An array season_parking that can allowed up to maximum 150 parking at a time.
    ii.Include a method that will allow new parking information to be included into the system.
    iii.Include a method to search for a car parking information.
    iv.Include a method to increase the seasonal parking rate by 20%
    v.Include a method to display all car details that are currently still parking.
    vi.Include a method to find the average hours of parking.
    vii.Include two more methods that either involved calculation, or data manipulation.

    Finally define a main menu program that will allow all the parking information to be manipulated.
     
    TheObject, Jul 9, 2006 IP
  2. forumnewbie

    forumnewbie Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    this sounds like homework.
     
    forumnewbie, Jul 10, 2006 IP