Notes
Lectures are being recorded; see sidebar for link.
Readings are taken from Object-Oriented Design & Patterns, 3nd ed. (Free PDF to SFU students)
Course Intro & Java
- Lecture
- 00-Administrative notes; or in colour
- 01-Introduction To Java notes; or in colour
- In class examples
- Intro Java programming demo videos:
Basics: main(), functions, if, for loop
Data class (fields, constructor, toString()...)
ArrayList and For-Each loop
Model/View Separation - Readings: Ch 1 (required)
- You must read Ch1 in course text by 3rd lecture.
Anon Classes
- 02-Anon Classes notes; in colour
- In class examples
- Readings: Ch 4.3-4.5 (optional)
OOD
- Academic Honesty presentation notes; in colour
- 03-Design Process notes; in colour
- 04-Design Techniques notes; in colour
- Readings: Ch 2
Lambdas & Streams
- 05-Lambda and Streams notes; in colour
- In class examples
- [Recommended] Practice exercise on streams.
- Download the provide
.java
files, then complete the code inStreamExercise.java
- Some of the tasks give hints on how you might want to do it; you'll likely need to lookup information online for some of these.
- Download the provide
- This is a good tutorial to help you work with streams.