SYSTEM.OUT.PRINTLN ("int a = 2.24; error, because the int type cannot have decimals");
SYSTEM.OUT.PRINTLN ("int a = 2.24f; error, int type cannot define decimal");
System.out.println ("float k = 2.24; error, fioat type number should be added F");
System.out.println ("2.24f = float k; Error, assignment rule is data type plus variable name");
SYSTEM.OUT.PRINTLN ("int A + = 1; error because a is not assigned");
SYSTEM.OUT.PRINTLN ("int a = 2.1 * 2; error, because int cannot be assigned a decimal number");
SYSTEM.OUT.PRINTLN ("int a = 5.0/2; error, int type data does not include double type data");
SYSTEM.OUT.PRINTLN ("int a = 5.0/2.0; error, int type data does not include double type data");
System.out.println ("float f = 2.0*3.0; error, float type result must end with F");
SYSTEM.OUT.PRINTLN ("int a =" 1 "+2; error, the value of a is a string and cannot be named with int");
SYSTEM.OUT.PRINTLN ("int a = (1+2) +" 3 "; error, the value of a is a string and cannot be named with int");
Beginner Java about variable naming common errors