Which access modifier should be used to give derived classes direct access to change the parent member data. This access modifier does not allow classes that instantiate objects of the class to have access to change member data?
A) private
B) public
C) protected
D) internal
Correct Answer:
Verified
Q30: Through defining the methods of a class
Q31: Object-oriented development focuses on designing classes that
Q32: Abstraction provides a way to simplify complex
Q33: You have experienced the use of polymorphism
Q34: Packaging data attributes and behaviors into a
Q36: Enabling reuse of code through extending the
Q37: Class library files end with a(n) _
Q38: Constructors are defined with _ access modifiers.
A)
Q39: To override a method, the base method
Q40: Replacing a method defined at a higher
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents