Hi guys!!I have problem with my projects by using vendor! Quesion:
Create a class hierarchy that has 1 base(super)class called Empalyee and 2 subclasses called Full Time and Part Time.The Employee class should contain all the attribute that the two classes have in common,whereas the two other classes model individual properties of a particular Employee.
Super class:- class name:Employee
attribute:name-String gender-char
method:getName()-String getPay()-double{abstract}
subclass(1):-
class name:Full Time attribute:salary-double ot-double
method:getPay()-double
subclass(2):-
class name:Part Time attribute:hoursWorked-double rate-double