OOPS

Question 137
What is ‘basis of Encapsulation’?
A
Object
B
Class
C
Method
D
All of the above
Question 137 Explanation: 
Encapsulation is the mechanism that binds together code and data it manipulates, and keeps both safe from outside interface and misuse. Class, which contains data members and methods is used to implement Encapsulation.
Correct Answer: D
Question 137 Explanation: 
Encapsulation is the mechanism that binds together code and data it manipulates, and keeps both safe from outside interface and misuse. Class, which contains data members and methods is used to implement Encapsulation.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: <b>Alert: </b>Content selection is disabled!!
OOPS
May 6, 2024
UGC NET CS 2006 June-Paper-2
May 6, 2024
OOPS
May 6, 2024
UGC NET CS 2006 June-Paper-2
May 6, 2024