Question: Problem # 1 : Create a new Employee Class Build a new Employee class ( Employee . java ) . This class will be a
Problem #: Create a new Employee Class
Build a new Employee classEmployeejava This class will be a subclass of Person. So it will inherit all the properties of PersonFirstName LastName, Address and Email Also add new properties, an employee id number and a salary. Create this class, make sure to add constructorsone that takes no args and that takes all props from both the Person class and the Employee class and a display method that prints out all the props from both the Person class and the Employee class. Then use main to test out this class.
Main Code
Employee e;
e new EmployeeBillClintonMariettabc@msncom;
edisplay;prints all properties
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
