Strings in Java
There are 2 ways to use and manipulate text data:
As string literals.
Using the String class.
String literal
We can declare a string directly. The variable containing the string data has the type String. When a string is declared like this, it's ...
richard.hashnode.dev5 min read