PDA

View Full Version : If a class is declared without any access modifiers, where may the class be accessed?


rajesh
30-12-2009, 09:22 PM
A class that is declared without any access modifiers is said to have package or default access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package or directory.