Consider a software system that will implement the following classes: Student, Professor, StaffMember, ContractWorker. List some common attributes of these classes. What would be a good abstract class from which these classes may be extended via inheritance?

What will be an ideal response?


Some common attributes would be socialSecurityNumber, age, and address. A good abstract
class from which these classes could be extended is Person.

Computer Science & Information Technology

You might also like to view...

What can be used to run JavaScript in a restricted environment and limit what resources it can access?

A. firewall B. sandboxing C. retaining wall D. same origin

Computer Science & Information Technology

Exception handling is a means of error detection and processing that has gained increasing acceptance in programming technology.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Creating each interactive button from scratch can introduce ____________________ if you forget to include a certain feature or formatting.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In your own words, list the features of the Symbols panel that makes it a useful database of your artwork.

What will be an ideal response?

Computer Science & Information Technology