What is the private access specifier?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the private access specifier?
Rating:
The private access specifier is one that implies that a private class member, i.e. a class variable or class method declared as private, can only be accessed by other members of its class.
The syntax for declaring a class member as private is given below:
Rating:
Was this information helpful?
Other articles
- What is JAX-RPC?
- What is the ordinal() enumeration method?
- What is the Pattern class?
- What is StringBuilder?
- What is the purpose of the String length() method?