Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

class is declared without any access modifiers

Fri Nov 07, 2008 12:05 am

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



Re: class is declared without any access modifiers

Fri Nov 07, 2008 12:08 am

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.

Post a reply
  Related Posts  to : class is declared without any access modifiers
 Access modifiers     -  
 access modifiers in java     -  
 Define class helper class to check the method existance     -  
 java abstract class,concrete class and interface     -  
 relationship between the Canvas class and the Graphics class     -  
 Define class inside another class C++     -  
 inner class that is a member of an outer class?     -  
 How java access URL     -  
 MS-Access with java     -  
 Example of using access key with links     -