Mind map
Encoding sets

Map content
Encoding sets
What programs use to represent characters in computers
- Java currently uses Unicode, which includes all characters from all languages, for its comments, identifiers, and contents of characters/strings.
- Java uses ASCII, which uses largely latin characters and such, for input elements
- Java currently uses Unicode, which includes all characters from all languages, for its comments, identifiers, and contents of characters/strings.
Separators
Primitives
- Data type used in Java
- 8 types
- First 6 are different ways to represent numbers, just in different sizes.
- Want to use smallest primitive possible for efficiency
- char is used for a single Unicode character
- boolean has two states: true or false
- First 6 are different ways to represent numbers, just in different sizes.
- 8 types
- Variables
- Data placeholders
- Each must have a declared type
- Either reference or primitive
- Reference refers to other object
- Primitive holds a primitive
- Either reference or primitive
- Must have a name or an identifier
- Unlimited length java characters, beginning with a java letter
- Must not be a java keyword, a boolean literal, or the null literal
- "Must be unique within its scope"
- You declare a variable by writing the type first, followed by the name, ending with a semi colon
- Data type used in Java
Constants
- Variables with values which, after being signed, are permanent
- declare a constant by using keyword "final"
- All caps, with words being seperated by underscores
Integer literals
- assigns values to variables of byte, short, int, and long
- To assign a value to a long, suffix the number with L or 1 at the end
- Floating point literals
- number has:
- whole number part
- decimal point
- fractional part
- optional exponent
- f_or_F means float. otherwise, double
- boolean literal
- either true or false
- character literal
- single quotes
- an escape sequence represents something that can not be entered using the keyboard or that has a special function in Java.
- number has:
Images and files in the map
Information
- Description
- Mind Map on Encoding sets, created by Andre Luck on 26/06/2020.
- Created by
- Andre Luck
- Views
- 0
- Rating








