Home » Unlabelled » If a class is declared without any access modifiers, where may the class be accessed? | Core Java
Monday, 13 February 2012
If a class is declared without any access modifiers, where may the class be accessed? | Core Java
A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.
No comments:
Post a Comment