1.命名规范
2.运算符
3.字符串拼接 用“+”
4.变量语法
type indentifier [ = valule][ ind = [ = value] ... ]
type :类型
indentifier:变量名
value:变量的值
5.java是强类型语言(即有不同的类型表示 )
1)内置数据类型 byte-1 ,short-2 ,int(integer)-4 ,long-8 , float-4 ,double-8, char ,boolen
注:BigDecimel表示大数的类
2)引用数据类型 对象 ,数组
6.内置数据类型范围、最大值、最小值查看 例:Integer.SIZE、 Integer.MIN_VALUE、
Integer.MAX_VALUE
7.数据类型之间的转换
根据字节大小转换 byte, short, char -> int -> long -> float -> long