Basic HTML version of Foils prepared Sept 21 1998

Foil 15 The Java Object Model Overview

From Java Tutorial 98- 2: Java Language and Object Oriented Techniques NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox, Nancy McCracken


1 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.
2 Each class has class variables (sometimes called instance vars) to hold the data and methods (called functions or procedures in other languages) to 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.
3 Classes can be used for data encapsulation, hiding the details of the data representation from the user of the class (by marking variables as private).
4 Instance
5 Variables
6 Methods

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