Question 9
Not yet
answered
Flag question
What is the primary motivation behind using encapsulation in Java?
a.
To achieve data hiding and protect the integrity of an object's state
b. To enable unrestricted access to all class members
FOOVERFLOW.COM
C.
To simplify code structure
d. To enhance code reusability