Basic HTML version of Foils prepared July 6 99

Foil 29 Class definition

From Use of Java Language in Computational Science DoD Modernization Users Group Conference Monterey -- June 7 99. by Nancy McCracken, Geoffrey C. Fox


The class definition consists of
  • a header line giving the class name, modifiers, possible subclass and interface structure
  • declarations (and possibly initializations) of instance variables
  • declaration of a constructor method. This method has the same name as the class and does any initialization whenever an instance is created.
  • declarations of other methods.to perform operations using the data in the instance variable of the class



© 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 Tue Jul 6 1999