006 String属于基础的数据类型吗? String属于基础的数据类型吗? 答:不属于。 Java 中 8 种基础的数据类型:byte、short、char、int、long、float、double、boolean 但是 String 类型却是最常用到的引用类型。