INF1B: Week 10: Abstract Classes and Interfaces; Object Design
Lecture 15: Abstract Classes and Interfaces
- Slides: Lecture 15 Slides
Lecture 15 ➡ Objects First: read Chapter 12. Further Abstraction Techniques.
Lecture 16: Object Design
- Slides: Lecture 16 Slides
Lecture 16 ➡ Objects First: read Chapter 8. Designing Classes.
Lecture 16 ➡ see last slide for web resources.
Tutorial: Object Design
This week we will be looking at making design decisions when creating your own classes.
Instructions and materials:
Solutions:
Lab exercises
This week's lab exercises cover interfaces, equality and hash codes. There are three core exercises.
What should I be doing with assessment?
Continue working on Assignment 2 part 2. Feedback on assignment 2 part 1 will be covered in this week's tutorials.
License
Creative Commons - Attribution Share A Like