About 6,600 results
Open links in new tab
  1. 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:

  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 - 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 Strings - Online Tutorials Library

    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 …

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

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

    Apr 13, 2025 · String concatenation is implemented through the StringBuilder class for better performance. The String class provides numerous methods for string manipulation and examination. …

  8. String in Java: A Comprehensive Guide with All Methods

    Mar 26, 2025 · String is one of the most widely used classes in Java. It represents a sequence of characters and is immutable, meaning once created, it cannot be changed. This blog will cover …

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

    Oct 14, 2025 · String in Java is the most frequently used object in the Java Programming Language. They are predominantly used in user input handling, database handling, file handling, and web …

  10. All About String in Java - Baeldung

    Sep 28, 2023 · Learn all about working with Strings in Java.