๐Ÿ’ปap computer science a review

Reference Type

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

A reference type is a data type that stores the memory address of an object rather than the actual value. It allows multiple variables to refer to the same object, and changes made to one variable will affect all other variables referencing that object.

"Reference Type" also found in:

Reference Type Definition - AP Computer Science A Key Term | Fiveable