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

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

  3. 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:

  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.

  6. Java String Class - Complete Tutorial with Examples - ZetCode

    Apr 13, 2025 · In this article, we've covered the essential methods of the Java String class with practical examples. Understanding these methods is crucial for effective string manipulation in Java applications.

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

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

  10. Java String - A Complete Guide (With Examples) - Intellipaat

    Oct 14, 2025 · This comprehensive guide to Java Strings covers everything you need to know, from the basics to advanced topics. Learn about string literals, string concatenation, string methods, and more.