Q. Why is encapsulation vital?

A
Speeds execution
B
Protects data
C
Increases memory
D
Allows inheritance
Solution:

Encapsulation protects data integrity and prevents unintended modifications.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!