Mindmap
Java language
Inhalt der Mindmap
Java language
Operators
- Assignment Operators
- Compound Assignment Operators
- Relational Operators
- "Equality" Operators
- Arithmetic Operators
- String Concatenation Operator
- Increment and Decrement Operators
- Ternary (Conditional Operator)
- Logical Operators
- Bitwise Operators: & 11, | (10,01,11), ^ (10,01)
- Short-Circuit Operators: &&, ||
- non-short-circuit Operators: &, | same as &&, || but evaluates both sides of the expression, always!
- Logical Operators ^ exclusive-OR, ! boolean invert
switch statements rules
- can evaluate only to enums or the byte, short, int, and char data types
- The case constant must be a literal or final variable, or a constant expression, including an enum
- If the condition in a switch statement matches a case constant, execution will run through all code in the switch following the matching case statement until a break statement or the end of the switch statement is encountered.
- The default keyword should be used in a switch statement if you want to run some code when none of the case values match the conditional value.
- The default block can be located anywhere in the switch block, so if no case matches, the default block will be entered, and if the default does not contain a break, then code will continue to execute (fall-through) to the end of the switch or until the break statement is encountered.
Informationen
- Beschreibung
- Mindmap am Java language, erstellt von Abdelkrim ZAHMOUNI am 04/10/2018.
- Erstellt von
- Abdelkrim ZAHMOUNI
- Aufrufe
- 0
- Verlauf
-
- Erstellt von Abdelkrim ZAHMOUNI · 23 Sep 2018
- Kopiert von Abdelkrim ZAHMOUNI · 3 Okt 2018
- Kopiert von Abdelkrim ZAHMOUNI · 3 Okt 2018
- Kopiert von Abdelkrim ZAHMOUNI · 4 Okt 2018
- Bewertung