java数据类型的初值缺省值

mac2026-03-17  2

java的类中的数据元素会被自动赋予初值

元素类型默认初始值byte0short0char0或者写成: ‘\u0000’int0float0.0Fdouble0.0booleanfalse引用数据类型null
最新回复(0)