Please enable JavaScript to use CodeHS

IB Computer Science Higher Level (Year One)

Lesson 11.9 this Keyword

Description

In this lesson, students will learn how the this keyword can be used in programs. The keyword this is a reference to the current object whose methods and constructors are being called. This lesson corresponds with AP Computer Science A topic 5.9.


Objective

Students will be able to:

  • Evaluate object reference expressions that use the keyword this