If an attribute is private, which methods
have access to it?
Answers
Answered by
0
Answer:
Methods, Variables and Constructors that are declared private can only be accessed within the declared class itself. Private access modifier is more secure and restrictive access level, whereas class and interfaces cannot be private.
Similar questions