Programming Misconceptions
Home
Misconceptions
Concepts
Languages
Textbooks
Contributors
About
Home
Languages
Java
jls21
Variables of Primitive Type
Java Language Specification, Version Java SE 21 Edition
4.12.1. Variables of Primitive Type
Read this Section of the Authoritative Specification
https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.12.1
2 Documented Misconceptions
PrimitiveIsObject
Primitive values are heap objects
PrimitiveVariablesDynamicallyTyped
The type of a primitive variable depends on its value
Find Misconceptions by...
Concept
Programming Language
Notional Machine
Textbook
About
About This Site
Structure and Content of the Inventory
Contributors