HELP! * YELLOW=global GREY=local Global HTML version of Foils prepared 1 February 97

Foil 3 The Java Object Model Overview

From Jan 27 Delivered Lecture for Course CPS616 -- Java Lecture 2 -- Basic Applets and Objects CPS616 spring 1997 -- Jan 27 1997. by Nancy McCracken * See also color IMAGE
Secs 322.5
Programs are composed of a set of modules called classes. Each class is a template
specifying a set of behaviors on
the data of the class.
Each class has class variables
(sometimes called instance vars)
to hold the data and methods (called
functions or procedures in other
languages) define the behaviors.
Each object in a program is created
as an instance of a class. Each class
instance has its own copy of the class
variables.
Classes can be used for data encapsulation, hiding the details of the data representation from the user 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 Sun Feb 16 1997