String
The string is a built-in CLASS available in Java but it is almost used as a data type.
Simply says String is a collection of characters.
Example:
String Str = "My name is Mahadev Deshmukh";
Here,
String = class, Str = Referal which stores Object, "...
mahadev.hashnode.dev2 min read