Please enable JavaScript to use CodeHS

Introduction to Java (Latte)

Lesson 4.10 Key Terms for Classes

Description

In this lesson students learn several new vocabulary terms about Classes and Object Oriented Programming. There’s a lot of vocab in this lesson, but it’s all important for the AP exam. Many of these terms students have seen before, however this lesson will describe what they mean.

The most important term to learn is the this keyword. this is a reference to the current instance. this is used to avoid naming conflicts between instance variables and parameters.


Objective

Students will be able to:

  • Define all the Object Oriented vocabulary terms in this lesson
  • Use the this keyword to solve variable shadowing problems