About 113,000 results
Open links in new tab
  1. Java Strings - Online Tutorials Library

    Learn about Java Strings, their methods, and how to manipulate text in Java programming. Explore examples and best practices for effective string handling.

  2. Java Strings - Tpoint Tech

    Mar 22, 2025 · Java String class provides a lot of methods to perform operations on strings such as compare(), concat(), equals(), split(), length(), replace(), compareTo(), intern(), substring() etc. The java.lang.String class implements Serializable, Comparable and CharSequence interfaces. CharSequence Interface

  3. Java String - javatpoint

    Java String provides a lot of concepts that can be performed on a string such as compare, concat, equals, split, length, replace, compareTo, intern, substring etc. In java, string is basically an object that represents sequence of char values.

  4. Java Strings - GeeksforGeeks

    Apr 8, 2025 · In Java, a String is the type of object that can store a sequence of characters enclosed by double quotes, and every character is stored in 16 bits, i.e., using UTF 16-bit encoding. A string acts the same as an array of characters.

  5. String Pool in Java - Tpoint Tech

    Mar 27, 2025 · String pool is nothing but a storage area in Java heap where string literals stores. It is also known as String Intern Pool or String Constant Pool. It is just like object allocation. By default, it is empty and privately maintained by the Java String class. Whenever we create a string the string object occupies some space in the heap memory.

  6. Java String Class - Online Tutorials Library

    Strings, which are widely used in Java programming, are a sequence of characters. In Java programming language, strings are treated as objects. The Java platform provides the String class to create and manipulate strings. The most direct way to create a string is to write −. String greeting = "Hello world!";

  7. String (Java Platform SE 8 ) - Oracle Help Center

    The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase.

  8. Java String Methods (With Examples) - Tpoint Tech

    Apr 14, 2025 · The java.lang.String class provides a lot of built-in methods that are used to manipulate string in Java. By the help of these methods, we can perform operations on String objects such as trimming, concatenating, converting, comparing, replacing strings etc.

  9. Java String: A Guide to String Basics, Methods, Immutability ...

    Java's String class, part of the java.lang package provides various methods to perform different operations on strings, such as trimming, replacing, converting, comparing, and more. Let's explore the important methods of the String class in Java and illustrates how they can be used.

    Missing:

    • Java Javatpoint

    Must include:

  10. Java String Methods with Examples - Java Guides

    Strings are immutable, meaning that once a String object is created, it cannot be changed. This tutorial will cover all methods of the String class with examples and outputs, highlighting key points, use cases, best practices, and performance considerations. 1. Introduction.

  11. Some results have been removed
Refresh