Take a deep dive into methods and inheritance, two key concepts in object-oriented design, as you prepare to take and pass the Java SE 8 Programmer I exam.
Overview
Syllabus
Introduction
- Methods and inheritance for the Java OCP test
- Exercise file setup
- Arguments and return values of methods
- Method overloading
- Static methods and fields
- Pass by value vs. by reference
- Method access modifiers
- Inheritance and polymorphism
- Using super and this to reference objects and constructors
- Abstract classes and interfaces
- Type casting on object references
- Next steps
Taught by
Baochuan Lu