Introduction
It's time up your game in Java
()
1. The World of Objects
What is an object in Java?
()
What is encapsulation?
()
What's so great about object-oriented design?
()
Prerequisites
()
Exercise files
()
2. Inside Classes
The anatomy of a class
()
The mighty constructor
()
Construct a duck
()
Pretty printing with toString()
()
Exercise: Objects in Java
()
3. Getters and Setters
Accessing an object's privates
()
The inner workings of setters
()
Using setters
()
Testing with JUnit
()
Exercise: Getters, setters, and JUnit
()
4. Static
What is static?
()
Static runs a marathon
()
Breaking out of the main() method
()
Exercise: Static
()
5. Inheritance
What is inheritance?
()
Take a sad class and make it better
()
The mother of all objects
()
Exercise: Build a better array list
()
6. UML
The Unified Modeling Language (UML)
()
Drawing with UML
()
Exercise: Create a UML diagram
()
Exercise solution: UML diagram
()
7. Polymorphism
What is polymorphism?
()
Polymorphism in action
()
The purpose of polymorphism
()
Implements vs. extends
()
Exercise: Polymorphism
()
Ex_Files_Java_Deep_Dive.zip
(2.6 MB)