Programming Misconceptions
Home
Misconceptions
Concepts
Languages
Textbooks
Contributors
About
Home
Languages
Java
jls21
Type of an Expression
Java Language Specification, Version Java SE 21 Edition
15.3. Type of an Expression
Read this Section of the Authoritative Specification
https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.3
3 Documented Misconceptions
CompositeExpressionsUntyped
Expressions that consist of multiple parts have no type
ExpressionsDynamicallyTyped
One has to evaluate an expression to determine its type
TargetTyping
The type of a numerical expression depends on the type expected by the surrounding context
Find Misconceptions by...
Concept
Programming Language
Notional Machine
Textbook
About
About This Site
Structure and Content of the Inventory
Contributors