Java   Suppose we are designing a simple college record-keeping program that has records for students and faculty. There is a natural hierarchy for grouping these record types: (can be found in the slide down below:   They are all records of people (inheriting from class Person). Students. They have the following properties: Name, StudentNumber, Major, and Level (freshman, sophomore, junior, senior) Instructors. Instructors have the following properties: Name, ID, Salary. However, the salary is a property in the job class

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter10: Introduction To Inheritance
Section: Chapter Questions
Problem 14RQ
icon
Related questions
Question

Please help

 

Java

 

Suppose we are designing a simple college record-keeping program that has records for students and faculty. There is a natural hierarchy for grouping these record types: (can be found in the slide down below:

 

  • They are all records of people (inheriting from class Person).
  • Students. They have the following properties:
  • Name, StudentNumber, Major, and Level (freshman, sophomore, junior, senior)
  • Instructors. Instructors have the following properties:
  • Name, ID, Salary. However, the salary is a property in the job class
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Data members
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