Modeling Using UML
Describe the relationship between an object and its class.
What is the normal definition of equality of two objects?
What makes two objects
What about instances of a collec
UML notations for classes and objects
UML notations for packages
Java package naming convention
Resolving name conflictions: classes/types in the Java API may share the same
name (e.g., the
class representing an AWT component and the
interface in the Java Collections Framework)
(high) cohesion and (low) coupling
module communication, less frequent inter
two roles that
an object (or a module) can play: client and server
separation of implementation from interface
different degrees of separation
interface, abstract class, and (concrete) class
Levels of abstraction
Use case models
From model to Java code
What is an application framework?
What is the main objecti
ve of using application frameworks?
Inversion of Control
is listed in your text as one of the characteristics of frameworks.
Use an example to demonstrate how it works in Swing programming.
are both listed as requirements f
or framework design. Use
two concrete Map classes
(available since Java 1.2) and
(available since Java 1.4) to demonstrate the benefit of binding to these requirements.
Consider the scenario in which a program that used
ow changed to use
Maximize the uniformity of common aspects of related classes/interfaces.
Use the Java Collections Framework as example
to show how this design guideline
used in the design of Java APIs? (Review the in
terfaces, abstract classes, and (concrete)
classes defined in the Collection and Map families.)
Compare the relative merits of different implementation styles:
black) TreeSet, LinkedHashSet
ArrayList and LinkedList
the following design patterns in terms of the four essential elements of a pattern:
name, intent, structure and participants, and consequences.
Why is layout management needed in the Java language?
Specify an approac
h to layout a graphical interface that is illustrated below.
What is object serialization (including serializing and deserializing)? Why is it neede
Describe what have you learned from Lab 6 about serialization.