1 | Possible ClassModifiers are: |
2 | abstract -- Contains abstract methods without implementation -- typically such abstract classes have several subclasses that define implementation of methods |
3 | public -- May be used by code outside the class package and (unix) file must be called ClassName.java where ClassName is unique public class in file |
4 | private -- this class can only be used within current file -- i.e current class |
5 | friendly(i.e. empty ClassModifier) -- class can be used only within current package |
6 | protected -- Only accessible to subclasses |