What is the public 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 public access specifier?
Rating:
The public access specifier is one that implies that a public class member, i.e. a class variable or class method declared as public, can also be accessed outside its class.
The syntax for declaring a class member as public is given below:
Rating:
Was this information helpful?
Other articles
- What is JavaScript?
- What is a roll back?
- What is the _jspService() method?
- What is encapsulation?
- What is LinkedList?