Basic HTML version of Foils prepared May 12 1996

Foil 57 Java Language -- Types of Classes

From CRPC Lectures on Java Language Applets Graphics CRPC Annual Meeting Tutorial -- May 14,1996. by Geoffrey C. Fox


1 Possible ClassModifiers are:
2 abstract -- Contains abstract methods without implementation -- typically such abstract classes have several subclasses that define implementation of methods
3 final -- Cannot have a subclass
4 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
5 private -- this class can only be used within current file
6 friendly(i.e. empty ClassModifier) -- class can be used only within current package
7 synchronizable -- Instances of this class will not have accesses interrupted by any other threads running in parallel

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Dec 14 1997