Google News
logo
Java - Interview Questions
Is String a class or data type?
String is a class in java.lang package. But in Java, all classes are also considered as data types. So we can take String as a data type also. 
Advertisement