Q. What is the benefit of using properties for encapsulation?
Solution:
Properties allow controlled access to attributes, enhancing encapsulation.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Properties allow controlled access to attributes, enhancing encapsulation.
Strengthen Your Practice with our comprehensive question bank.