Sprechen Sie Java: Eine Einführung in das systematische Programmieren, 4. Auflage
1. Grundlagen7 Documented Misconceptions
Check YourselfAssignmentCopiesObject
Assignment copies the objectConditionalIsSequence
If-else is equivalent to sequence of two ifsForIsConditional
The body of a for statement executes at most onceIfIsLoop
The body of an if statement executes repeatedly, as long as the condition holdsIfRequiresElse
Every if statement requires an elseMultiValueVariable
A variable can contain more than one valueUntypedVariables
Variable declarations don't need a type