About 12,800 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

    Jan 13, 2026 · 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 …

  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 - Complete Tutorial with Examples - ZetCode

    Apr 13, 2025 · Complete Java String class tutorial covering all methods with examples. Learn about string manipulation, comparison, and other String class methods.

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

    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. Strings in Java - Sanfoundry

    Learn everything about Strings in Java, including creation, manipulation, StringBuilder vs. StringBuffer, common methods, and regex. Easy explanations with examples!

  8. 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.

  9. 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.

  10. Java String Methods - GeeksforGeeks

    Oct 11, 2025 · In Java, a String represents a sequence of characters used for storing and manipulating text. It is immutable and provides many built-in methods for operations like concatenation, …