View RSS Feed

Java String

All about Java String.

  1. Strings in Java

    by , 04-26-2012 at 07:24 PM
    The most common use of the string class is manipulation and holding of the text strings, in Java programs. In case of automatically imported standard java.lang packages this is usually found, therefore nothing special is needed to use it.

    String class can be used in its simplest form by typing text that is usually double quotes surrounded. This is what is known as String literal.
    "This is a Java String"

    Anywhere a String object is needed, string ...