Basic HTML version of Foils prepared 13 July 98

Foil 32 Multiple Classes

From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo


All of the Java source files we've seen so far contain one and only one class, a subclass of the Applet class
In fact, a source file may contain any number of classes (but only one may be public)
The Java compiler (javac) will generate one .class file for each class in the source file



© 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 Sat Nov 28 1998