Java - String是最基本的数据类型吗?

版权声明:欢迎转载并请注明出处,谢谢~~ https://blog.csdn.net/chimomo/article/details/78342034

不是。Java中的基本数据类型只有8个:boolean、char、byte、short、int、long、float、double;除了基本数据类型(primitive type)和枚举类型(enumeration type),剩下的都是引用类型(reference type)。

猜你喜欢

转载自blog.csdn.net/chimomo/article/details/78342034