PrimitiveIsObject
DRAFT

Misconception:

Values of primitive types (e.g., a double number) are stored as objects on the heap.

Incorrect

Primitive values are heap objects

Correct

Correction
Here is what's right.

Values of primitive types are stored directly inside variables. In it not possible to have a reference pointing to a primitive value.

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.