Diagrama de flujo
Sin título
Contenido del diagrama
Primitives (data type)
8 types
representing numbers
byte, short, int, long, float, double
char (single unicode character)
boolean (true or false)
Variables
Declared Type
Reference Type
Primitive Type
Name / Identifier
must be unique
begin w/ java letter
Cannot be Java keyword
Declaring Variable
1st: type
2nd: name
3rd: semi colon
Constants
values cannot be change
keyword: final
Literals
literals of primitive types
String literals
Null literal
Integer literals
floating-point literals
character literals
boolean literals
assign values to byte, short, int, and long types
has whole number part, decimal pt, fractional part, exponent (optional)
float
double
32 bits
f_or_F
64 bits
d_or_D
A unicode character or an escape sequence inclosed in single quotes
Has 2 values, represented by the literals : true and false
letters, numbers or symbols which are enclosed within two quotation marks
The null is a literal of the null type
Información
- Descripción
- Diagrama sobre Sin título, creado por Isabel Lebron el 09/10/2020.
- Creado por
- Isabel Lebron
- Visitas
- 0
- Valoración