💻ap computer science a review

Null reference

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2027 exam
Verified for the 2027 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

A reference variable that does not point to any object; calling a method on a null reference causes a NullPointerException.

AP course connection

Topic 1.14: 1.14 Calling a Void Method

Unit 1

"Null reference" also found in:

Subjects (1)