Show Bid Request
Objects and classes
Bid Request Id: 28194
|
|
|
Posted by: |
spoke (9 ratings)
(Software buyer rating 10)
|
Posted: |
Sep 21, 2002 3:44:31 AM EDT
|
Bidding Closes: |
Sep 22, 2002 4:03:35 PM EDT
|
Viewed (by coders): |
103 times
|
|
|
|
Description:
Parameters : complete the Person class and the PersonDriver class (given below). ***************************************************** // This is the Driver for the Person class, complete it to satisfy the specs. public class PersonDriver{ public static void main(String[] argv){ /* . . .
*/ Person p; // example of declaring a person /* . . . */ // print out the person object p System.out.println(p); } } ******************************************************* // Person class class Person{ /*
. . . */ } ****************************************************
My Person class must have, at least, the following fields: name, birth date, and address of type String, and age of type int. My Person class should provide methods for manipulating and accessing the instance variable of the class. Add any number of instance variables and methods that fit the need.
The current year must not be an instance variable in the Person class.
For the PersonDriver class: complete the class so that it will prompt the user to enter current year, name, birth date, and address of a person. It then builds a Person object, called p, with the given information. Before your program terminates, the information about the person p will be printed to the screen by the statement “System.out.println(p)”, which is provided in the PersonDriver class.
Here is the sample run of your program:
Java PersonDriver
Please enter the current year: 2002
Please enter the person name: John Smith
Please enter the person birth date: 12151980
Please enter the person address: 1313 Main Street.
Name: Smith, John
Birth Date: 12/15/1980
Age: 22
Address: 123 Tara blv.
Note: The comments are what I really need to learn myself, this is how I learn in reverse(I will re-write the program after I unnderstand objects and classes better).The program must follow this specification exactly
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Written in Java and compatible with all platforms
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation, you can report it to: abuse@rentacoder.com.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$20 (USD)
|
Sep 21, 2002 4:35:15 AM EDT
|
10
(Excellent)
|
|
|
Hi I can do this straight away. I will comment my code clearly and explain to you how things will work. |
|
|
|
|
|