Computer Applications
What is public access of a class?
Java Classes
40 Likes
Answer
When a class is declared with public access specifier it is said that the class is publicly accessible. A publicly accessible class is visible everywhere both within and outside its package. For example:
public class Example {
//Class definition
}
Answered By
22 Likes