Question: I want Code Java and Screenshot output 1. Open Eclipse and Create new Java Project a. Name it YOUR FIRST NAME and LASTNAME (i.e., Nasser
I want Code Java and Screenshot output



1. Open Eclipse and Create new Java Project a. Name it "YOUR FIRST NAME and LASTNAME" (i.e., Nasser Alghamdi) 2. Create new classes: Person and Student a. Write appropriate package name for each b. Use the following class diagrams to write up the two classes code in Java each one in a separated file 3. In Person class: a. In the Constructor you must initialize name variables b. In getName() method you must return the name's value 4. In Student class: a. The class must inherit the Person class b. In the Constructor you must initialize name using super's constructor and it must initialize id local to the Student class c. In getID() you must return the id value 5. Create Runner class that has the main method a. Create one object of type Student: i. name it student ii. use your name and id to initialize Student's attributes 6. Print student's name 7. Print student's id
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
