Computer Applications
What will be the visibility of a public class ?
Encapsulation & Inheritance in Java
3 Likes
Answer
A public class is visible to all the classes, whether they are in the same package or in a different package.
Answered By
2 Likes