CSC148 Exam Study Guide Questions with Complete solutions (A Graded)
composition - ANSWER a relationship between two classes where instances of one class contain references to instances of the other a 'has a' relationship representation invariants - ANSWER a property of the instance attribute that every instance of a class must satisfy - it is a post condition and a pre condition - initializer is responsible for initializing attributes such that the representation invariant isn't met
Written for
- Institution
- CSC148
- Course
- CSC148
Document information
- Uploaded on
- May 28, 2024
- Number of pages
- 7
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal