About 324,000 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 …

  2. Java String Reference - W3Schools

    The String class has a set of built-in methods that you can use on strings. Returns the number of Unicode values found in a string. Compares two strings. Returns true if the strings are equal, …

  3. Java Strings - GeeksforGeeks

    May 6, 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 …

  4. JavaString Class and Methods with examples - BeginnersBook

    Oct 25, 2022 · String is a sequence of characters, for e.g. "Hello" is a string of 5 characters. In java, string is an immutable object which means it is constant and can cannot be changed …

  5. Java String (With Examples) - Programiz

    Java provides various string methods to perform different operations on strings. We will look into some of the commonly used string operations. 1. Get the Length of a String. To find the length …

  6. Java string method explained [Easy Examples] - GoLinuxCloud

    Nov 10, 2023 · Java Strings are the only class where operator overloading is supported which means we can concat two strings using the + operator. For example "a"+ "b" = "ab". Now let …

  7. Java String: A Guide to String Basics, Methods, Immutability ...

    Java's String class, part of the java.lang package provides various methods to perform different operations on strings, such as trimming, replacing, converting, comparing, and more. Let's …

  8. Java String Methods - 27 String Functions You Must Know

    Oct 25, 2019 · Some important Java String methods are: Let’s look into these methods one by one with examples. The length() method returns the length of the string object. String …

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

  10. String Class in Java - GeeksforGeeks

    May 1, 2025 · In this article, we are going to learn about the String class in Java. Example of String Class in Java: Explanation: The above program creates a string using a literal and prints …

  11. Some results have been removed
Refresh