About 11,500 results
Open links in new tab
  1. 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 …

  2. Java Strings - W3Schools

    A String in Java is actually an object, which means it contains methods that can perform certain operations on strings. For example, you can find the length of a string with the length() method:

  3. Java Strings - GeeksforGeeks

    Apr 7, 2026 · A String in Java is an object used to store a sequence of characters enclosed in double quotes. It uses UTF-16 encoding and provides methods for handling text data.

  4. Java String (With Examples) - Programiz

    In Java, a string is a sequence of characters. For example, "hello" is a string containing a sequence of characters 'h', 'e', 'l', 'l', and 'o'. In this tutorial, we will learn about strings in Java with the help of …

  5. 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 …

  6. All About Strings in Java: A Comprehensive Guide with ...

    Apr 7, 2025 · In Java, a String is an object that represents a sequence of characters. Unlike primitive data types, strings are handled as objects of the String class in Java.

  7. Java String Tutorial - HowToDoInJava

    Aug 15, 2024 · On this page, we will learn about creating strings with string literals and constructors, string methods and various other examples related to string conversion and formatting.