About 1,430,000 results
Open links in new tab
  1. String (Java Platform SE 8 ) - Oracle Help Center

    String buffers support mutable strings. Because String objects are immutable they can be shared. For example: String str = "abc"; char data[] = {'a', 'b', 'c'}; String str = new String(data); …

    Missing:

    • Library

    Must include:

  2. Java Strings - GeeksforGeeks

    May 6, 2025 · Java provides a robust and flexible API for handling strings, allowing for various operations such as concatenation, comparison, and manipulation. Example: String name = …

    Missing:

    • Library

    Must include:

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

    Missing:

    • Library

    Must include:

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

  5. Java String - working with strings in Java using String and

    Jul 4, 2024 · In this article we show how to work with strings in Java using String and StringBuilder. In Java, a string is a sequence of Unicode characters. Strings are objects. There …

    Missing:

    • Library

    Must include:

  6. Java String Methods with Examples - Java Guides

    Strings are immutable in Java. The String class provides a variety of methods for string manipulation. Strings can be concatenated using the + operator. Java provides the …

  7. JavaString Class and Methods with examples - BeginnersBook

    Oct 25, 2022 · In java, string is an immutable object which means it is constant and can cannot be changed once it is created. In this tutorial we will learn about String class and String methods …

    Missing:

    • Library

    Must include:

  8. Java String import - Stack Overflow

    Oct 31, 2011 · String is present in package java.lang which is imported by default in all java programs. Everything in the java.lang package is implicitly imported (including String) and you …

    Missing:

    • Library

    Must include:

  9. Java Strings - W3Schools

    There are many string methods available, for example toUpperCase() and toLowerCase(): The indexOf() method returns the index (the position) of the first occurrence of a specified text in a …

  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 …

    Missing:

    • Library

    Must include:

Refresh