DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links