Which Among The Following Would Destroy The Encapsulation #85
Which among the following would destroy the encapsulation mechanism if it was allowed in programming?
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 OOPs Concept & Features - OOPs MCQ: Encapsulation - Quiz No.1.
Which among the following would destroy the encapsulation mechanism if it was allowed in programming?
Using access declaration for private members of base class
Using access declaration for public members of base class
Using access declaration for local variable of main() function
Using access declaration for global variables