Question: The class definition shown below is valid because__________. Question 7Answer a. the Department class is declared private outside of the package of the AccountingDept class.
The class definition shown below is valid because__________. Question 7Answer a. the Department class is declared private outside of the package of the AccountingDept class. b. the Department class is a subclass of the AccountingDept class. c. the Department class is declared within the same package as the AccountingDept class. d. the AccountingDept class is the super class of the Department class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
