Mapa mental
Java
Conteúdo do mapa
Java
Character Sets
- ASCII
- 128 characters
- 7 bits each
- Lower & Uppercase latin letters, numbers, punctuation
- Extended ASCII
- Additional 128 characters
- 8 bits each
- Additional 128 characters
- Used for almost all input elements
- 128 characters
- Unicode
- Attempts to include all characters from all languages
- 65k characters
- 16 bits each
- 65k characters
- 4x as much data as ASCII
- UTF8, UTF-16, UTF-32 to make data transfer more efficient
- Attempts to include all characters from all languages
- ASCII
Separators
- Parentheses
- method signatures, raise operator precedence, narrowing conversions, loops
- Braces
- Declaration of types, blocks of statements, array initialization
- Brackets
- array declaration, array value dereferencing
- Angle brackets
- pass parameters to parameterized types
- Semicolon
- terminate statements, in the for statement to separate the initialization code, the expression, and the update code
- Colon
- in the for statement that iterates over an array or a collection.
- Comma
- separate arguments in method declarations
- Period
- separate package names from subpackages and type names, separate a field or method from a reference variable.
- Parentheses
Primitives
- Data type
- 8 types
- 6 (byte, short, int, long, float, double) represent numbers and have unique ranges
- char
- can contain a single unicode character
- boolean
- can contain false or true
Variables
- Data placeholders
- Data types and identifiers
Constants
- Variables whose values cannot be changed
- "final" keyword
Literals
- To assign values to variables in a program
- Integer literals, floating-point literals, character literals, boolean literals
Informações
- Descrição
- Mapa Mental sobre Java, criado por Sydney Blimbaum em 05-10-2020.
- Criado por
- Sydney Blimbaum
- Visualizações
- 0
- Avaliação