String is a class in java.lang package. But in Java, all classes also considered as data types, so we can take String as a data type also.
No comments:
Post a Comment