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
package myPackage Class Person class Person protected String name public Person name public PersonString name thisname name Getters and setters public ... View full answer
Get step-by-step solutions from verified subject matter experts
