Question: create a class called person with a member variable name save it in a file called the percentage Java create a class called employee that

create a class called person with a member variable name save it in a file called the percentage Java create a class called employee that will inherit the person class the another data members The Other data members of employee class 9 annual salary the year the employee started the work and National Insurance number which is a string say this in a file called employee ID Java your class should have the necessary constructors and getter setter methods write another class called test employee containing a main method fully test for the class definition

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

package myPackage Class Person class Person protected String name public Person name public PersonString name thisname name Getters and setters public ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!