2.19.1 Class Visibility2.19 Visibility Modifiers2.19 Visibility Modifiers2.19.2 Field and Method Visibility

2.19.1 Class Visibility

If a class is declared with the keyword public such as in

   public class Class 
   {
     ...
   }

it becomes visible also outside the current package. If you organize your classes in packages, you have to use this identifier to denote those classes that are of general use.


© Wolfgang Schreiner; February 3, 2005

2.19.1 Class Visibility2.19 Visibility Modifiers2.19 Visibility Modifiers2.19.2 Field and Method Visibility