Computer Applications
What will happen if data members are declared private.
Encapsulation & Inheritance in Java
21 Likes
Answer
Data members declared as private are accessible only inside their own class where they are declared and nowhere else.
Answered By
12 Likes