数据初始化

Java中,有如下三种:

基本数据类型不会自动初始化

引用类型变量会自动初始化为null

类中的变量会自动初始化

原文地址:https://www.cnblogs.com/maxiaoshuai/p/6597187.html