成员变量,全局变量局部变量:必须要手动初始化
String 是null;
Char 是空格;
Int 是0;
Double 是0.0;
Float 是0.0;
Boolean 是null。
“.”操作必要在方法中使用,不能再方法外使用!当对象加到堆中才能用“.”操作!
三种方法:1、void无返回值;2、String返回string类型;3构造方法