Program Design & Analysis Flashcards
Software development
Writing a program
Object-oriented program
Uses interacting objects
Program specification
Description of a task
Program design
A written plan, an overview of the solution
Program implementation
The code
Program maintenance
Keeping the program working and up to date
Top-down development
Implement main class first, subsidiary classes later
Independent class
Doesn’t use other classes of the program in its code
Bottom-up development
Implement lowest level, independent classes first
Driver class
Used to test other classes; contains main method
Inheritance relationship
Is-a relationship between classes
Composition relationship
Has-a relationship between classes
Inheritance hierarchy
Inheritance relationship shown in a tree like diagram
UML diagram
Tree-like representation of relationship between classes
Data structure
Java construct for storing a data field (e.g., array)