What is the difference between a public and a non-public class? Ans. A public class may be accessed outside of its package. A non-public class may not be accessed outside of its package.
Download the Study24x7 App, so you can connect and collaborate.