Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeLanguages
Java
jls21
Assignment Operators

Java Language Specification, Version Java SE 21 Edition
15.26. Assignment Operators

Read this Section of the Authoritative Specification

https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.26

4 Documented Misconceptions

Misconception
AssignCompares
= compares two values
Misconception
AssignmentCopiesObject
Assignment copies the object
Misconception
AssignmentNotExpression
An assignment a=b is not an expression
Misconception
ExpressionAssigns
An expression that reads a variable also updates its value after the evaluation

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors