Which Access Specifiers Should Be Used So That All The Derived #785
Which access specifiers should be used so that all the derived classes restrict further inheritance of base class members?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Inheritance & its Types - OOPs MCQ: Hierarchical Inheritance - Quiz No.1.
Which access specifiers should be used so that all the derived classes restrict further inheritance of base class members?
Private
Public
Protected
Any inheritance type can be used