270 likes | 398 Views
C H A P T E R S E V E N. Object-Oriented Programming. A Simple Stack in C Figure 7.1. A Stack Type in C Figure 7.2. Implementation of Stack Type in C Figure 7.3. Abstract Data Types in Modula (1 of 2) Figure 7.4. Abstract Data Types in Modula (2 of 2) Figure 7.5.
E N D
C H A P T E R S E V E N Object-Oriented Programming
A Simple Stack in C Figure 7.1
A Stack Type in C Figure 7.2
Implementation of Stack Type in C Figure 7.3
Abstract Data Types in Modula (1 of 2) Figure 7.4
Abstract Data Typesin Modula (2 of 2) Figure 7.5
Initialization of an Object in the Heap Figure 7.6
A Simple Stack Class in Java Figure 7.7
Creation of a Stack with Two Values Figure 7.8
Initialization of an Object with Inherited Features Figure 7.9
Sample Class Hierarchy Figure 7.10
Expression Abstract Syntax of Jay Figure 7.11
Meaning of an Expression Figure 7.12
The Variable Class Figure 7.13
The Value Class Figure 7.14
The IntValue Subclass of the Value Class Figure 7.15
The UndefValue Subclass of the Value Class Figure 7.16
The Binary Class Figure 7.17
The Operator, ArithmeticOp, RelationalOp, and BooleanOp Classes Figure 7.18
The AddOp Subclass of the Operator Class Figure 7.19
The Expression Class Figure 7.20
The Concordance Class Figure 7.21
The Document Class Figure 7.22
The Report Class Figure 7.23
Object-Oriented Backtracking Algorithm Figure 7.24
Backtracker Interface Figure 7.25
Object-Oriented Eight Queens Program Figure 7.26