Category: Java

JAVA Inheritance With Concept and Examples / Output

JAVA Inheritance With Concept and Examples / Output

PROGRAM STATEMENT Design a super class called Staff with details as StaffId, Name, Phone, Salary. Extend this class by writing three subclasses namely Teaching (domain, publications), Technical (skills), and Contract (period). Write a Java...