notes:
1. Line comments//2. Block comments/* */3. Method Comment/** *
/
Data type:
Java is a strongly typed language that includes 8 basic data types and 3 reference data types, with basic data types including four integers (Byte,short,int,long), 2 floating-point types (float,double), There are 1 character types used to represent Unicode encoded character cells char and one to represent the true worth of the Boolean type, 3 reference data types including arrays, classes, and interfaces. Conversions between data types: (dashed lines represent loss of precision, solid lines represent no loss of precision):
variables:
definition and initialization constants for variables (final decoration, usually full capitalization of constant names)
Operator:
self-increment decrement: ++,--relational operator: ==,! =,>,<,>=,<= ternary operator: Condition?expression1:expression2 bit operator:&,|,^,~,<<,>>,>>> Bar Piece Operator: &&,| | (Note the difference from &,|) mathematical functions and constants: Some functions and constants in the math class
string:
substring, concatenation, immutable string
Control Process:
condition, loop statement
Arrays and large values:
Big value: Biginteger,bigdecimal array: Definition, initialization, anonymous array, foreach Loop, array copy, Main method command line arguments, array sort, multidimensional array
From for notes (Wiz)
Java BASIC programming structure