Community

String comparisons in Java

(Rafael Chinelato Del Nero) In Java, the String class encapsulates an array of char. Put simply, String is an array of characters used to compose words, sentences, or any other data you want.