please help me....

Reply

Join Date: Oct 2009
Posts: 4
Reputation: miasuhyla is an unknown quantity at this point 
Solved Threads: 0
miasuhyla miasuhyla is offline Offline
Newbie Poster

please help me....

 
-1
  #1
Oct 12th, 2009
Write a class called Person.java that has instance variables matric number, name, date of birth, and gender. Use appropriate data types for these instance variables. Include constructor and set and get methods for all instance variables. Draw UML diagram for class Person.

Then, create an application class that asks the user to supply the required information for a Person object and then instantiates a Person object.
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 763
Reputation: Phaelax is on a distinguished road 
Solved Threads: 38
Phaelax Phaelax is offline Offline
Master Poster
 
0
  #2
Oct 12th, 2009
I'm starting to remember why I stopped visiting the forums.

Good job, you pasted your homework assignment. Why are you sharing it? Have a specific question?
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 120
Reputation: Jocamps is an unknown quantity at this point 
Solved Threads: 7
Jocamps's Avatar
Jocamps Jocamps is offline Offline
Junior Poster
 
0
  #3
Oct 13th, 2009
Originally Posted by miasuhyla View Post
Write a class called Person.java that has instance variables matric number, name, date of birth, and gender. Use appropriate data types for these instance variables. Include constructor and set and get methods for all instance variables. Draw UML diagram for class Person.

Then, create an application class that asks the user to supply the required information for a Person object and then instantiates a Person object.
at least make some effort!
Reply With Quote Quick reply to this message  
Reply

Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC