Skip to content

Glossary: Java Basics

Reference

Also written: references

What a variable of a class type holds: directions to where an object lives in memory, not the object itself. Copying the variable copies the reference, so both point to one object.

Where the book teaches it

Related terms

Objectnull