Q. What does encapsulation protect?
Solution:
Encapsulation protects data by restricting direct access to class attributes.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Encapsulation protects data by restricting direct access to class attributes.
Strengthen Your Practice with our comprehensive question bank.