

MCQOPTIONS
Saved Bookmarks
1. |
Which among the following would destroy the encapsulation mechanism if it was allowed in programming? |
A. | Using access declaration for private members of base class |
B. | Using access declaration for public members of base class |
C. | Using access declaration for local variable of main() function |
D. | Using access declaration for global variables |
Answer» B. Using access declaration for public members of base class | |