Object-Oriented Programming Preparation
Overview
Java is a classic example of an ‘object-oriented programming’ language. You used some objects before, but Java forces you to really get into objects. Today, we’ll focus on the concepts core to “OOP”, which you’ll use heavily in Java but apply across lots of other programming languages.
Basic Learning Objectives
Before class, you should be able to:
- Define encapsulation, inheritance, polymorphism, and abstraction
- Explain how object and instance relate to each other in programming
Advanced Learning Objectives
After class, you should be able to:
- Create a subclass
- Work with multiple related classes
- Explain how instance variables work with inheritance
Readings
You should read the reading assignment through Moodle, which covers the following sections of OpenDSA’s CS2:
- 2.1 Introduction to Object Oriented Programming
Checks
You should complete the reading checks embedded in the reading assignment on Moodle.