boolean类型和int类型

boolean类型的数据默认值为false,当Boolean类型的变量是成员变量时,它有默认值,当为局部变量时,没有默认值。

猜你喜欢

转载自blog.csdn.net/yongbutingxide/article/details/81977261