About 33,600,000 results
Open links in new tab
  1. Java Strings - GeeksforGeeks

    Nov 12, 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 …

  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. Strings (The Java™ Tutorials > Learning the Java Language - Oracle

    Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. The Java platform provides the String class to …

  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 …

  5. What is a String in Java?

    A String is a sequence of characters used to represent textual data, such as letters, numbers, or symbols. Unlike other programming languages, Java does not treat strings as a primitive data …

  6. Java Strings - Tpoint Tech

    Mar 17, 2025 · Generally, String is a sequence of characters. But in Java, string is an object that represents a sequence of characters. The java.lang.String class is used to create a string …

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

    Apr 13, 2025 · The java.lang.String class represents character strings in Java. All string literals in Java programs are implemented as instances of this class. Strings are immutable, meaning …

  8. Strings in Java - Sanfoundry

    Strings are one of the most commonly used data types in Java. A String is a sequence of characters, and in Java, it is an object of the String class. Unlike primitive data types, strings …

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

  10. String (Java SE 24 & JDK 24) - docs.oracle.com

    Constructs a new String by decoding the specified subarray of bytes using the default charset.