Articles related to the tag Strings

Learn more about Strings

The Switch Statement

The versatile switch statement is an alternative to the 'if' statement and has many possible executions. Along with some complex data types, the switch statement can be expressed with the int, short, byte or char primitive data types, and since Java 7, it works with the String class.

Defining Strings

There are many Java String methods, in this post we will attempt to cover the main String Class and also some of the most used String methods.