Java Application


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Java Application

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    1

    Java Application

    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.

  2. #2
    Join Date
    Mar 2004
    Posts
    635
    Nice homework problem, so what's your question?

Similar Threads

  1. Has Sun Given Up on the Desktop?
    By Lori Piquet in forum Talk to the Editors
    Replies: 114
    Last Post: 10-10-2002, 06:01 AM
  2. How i deploy Java application securly
    By anvar in forum Java
    Replies: 3
    Last Post: 02-10-2002, 11:15 PM
  3. Replies: 0
    Last Post: 01-31-2002, 11:08 PM
  4. Replies: 1
    Last Post: 04-14-2000, 10:46 AM
  5. Replies: 0
    Last Post: 03-18-2000, 01:49 PM

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