Is string data type in Java?

No. String is not a data type in Java. The primitive data types in Java are byte, short, int, long, float, double, boolean, char as explained in Primitive Data Types from the Official Java Docs.

For More Information Please Refer: https://www.quora.com/Is-String-data-type