Test time left: 01:21:11 Write a java program to implement the concept of inheritance where the subclass StaffMember inherits the super class Department and implements the interface Publication. Print the details of department along with their faculty details and their publication. Consider 15 faculty members are in the dept. Department - class Data members: Department Name, HOD Name, total students, no of sections Methods: Constructor, showDepartment Details() StaffMember-class Data members: Staff Member Name, staff id, Staff Qualification, designation, experience (all are private) Methods: Constructor, showStaff Detail() Publication-interface journalcount, projectcount, patterncount public void show_publication_detail()

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question
Test time left: 01:21:11
Write a java program to implement the concept of inheritance where the subclass StaffMember inherits the super class Department and
implements the interface Publication. Print the details of department along with their faculty details and their publication. Consider 15 faculty
members are in the dept.
Department - class
Data members: Department Name, HOD Name, total students, no of sections Methods: Constructor,
showDepartment Details()
StaffMember-class
Data members: Staff Member Name, staff id, Staff Qualification, designation, experience (all are private)
Methods: Constructor, showStaffDetail()
Publication-interface
journalcount, projectcount, patterncount
public void show_publication_detail()
Transcribed Image Text:Test time left: 01:21:11 Write a java program to implement the concept of inheritance where the subclass StaffMember inherits the super class Department and implements the interface Publication. Print the details of department along with their faculty details and their publication. Consider 15 faculty members are in the dept. Department - class Data members: Department Name, HOD Name, total students, no of sections Methods: Constructor, showDepartment Details() StaffMember-class Data members: Staff Member Name, staff id, Staff Qualification, designation, experience (all are private) Methods: Constructor, showStaffDetail() Publication-interface journalcount, projectcount, patterncount public void show_publication_detail()
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT