Java Reference
In-Depth Information
7
Object-Oriented
Design
CHAPTER OBJECTIVES
Establish key issues related to the design of object-oriented software.
Explore techniques for identifying the classes and objects needed in a
program.
Discuss the relationships among classes.
Describe the effect of the static modifier on methods and data.
Discuss the creation of a formal object interface.
Further explore the definition of enumerated type classes.
Discuss issues related to the design of methods, including method
overloading.
Explore issues related to the design of graphical user interfaces, including
layout managers.
T his chapter extends our discussion of the design of object-oriented
software. We first focus on the stages of software development and
the process of identifying classes and objects in the problem domain.
We then discuss various issues that affect the design of a class,
including static members, class relationships, interfaces, and enumer-
ated types. We also explore design issues at the method level and
introduce the concept of method overloading. A discussion of testing
strategies rounds out these issues. In the Graphics Track sections of
this chapter we focus on GUI design concepts, including layout man-
agers and containment hierarchies.
301
 
 
Search WWH ::




Custom Search