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 a many-to-many relationship?
- What is a one-to-many relationship?
- What is the substring() method?
- What is MOM?
- What is the replace() method of the StringBuffer class?