5. Classes and objects Flashcards
1
Q
What is an object?
A
An entity within the problem domain, which is recognised by the system by storing information about it or by interacting with it or both
2
Q
What is the difference between a class and an object?
A
Class - another term for an object type
Objects - template for producing instances of classes
3
Q
Name 4 methods of finding classes and objects
A
Textual analysis Identifying uses Identifying players Identifying generalisation Identifying analogies Identifying re-use
4
Q
Draw an example of the UML graphical notation of an object and label each section
A
Object Name (aka Class Name)
Attributes
Operations