ReferenceIntoStack
DRAFT

Misconception:

Java references can refer to data located on the stack.

Incorrect

References can point into the stack

Correct

Correction
Here is what's right.

Wrong. A reference in Java refers to objects on the heap. In Java one cannot refer to data on the stack.

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.