Thursday, March 12, 2009

What is the difference between a public and a non-public class (CoreJava)

Question :What is the difference between a public and a non-public class? (CoreJava)
Answer :A public class may be accessed outside of its package. A non-public class
may not be accessed outside of its package.

No comments: