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

  2. Java String Programs - GeeksforGeeks

    Jun 22, 2024 · Java String class provides a lot of methods to perform operations on strings such as compare (), concat (), equals (), split (), length (), replace (), compareTo (), intern (), …

  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. Java Strings - W3Schools

    Strings are used for storing text. A String variable contains a collection of characters surrounded by double quotes: A String in Java is actually an object, which contain methods that can …

  5. Java String Exercise - GeeksforGeeks

    Apr 25, 2024 · Practice creating, modifying, and working with strings to build a solid foundation for your Java programming journey. 1. Java String Program to Print Even-Length Words. …

  6. Top 75+ String Programs In Java - Know Program

    In these programs, we have covered string handling questions, number programs using string, string array programs, and string programs with the help of collections. In these programs, …

  7. Java String: Exercises, Practice, Solution - w3resource

    Mar 17, 2025 · This resource offers a total of 560 Java String problems for practice. It includes 112 main exercises, each accompanied by solutions, detailed explanations, and four related …

  8. Strings in Java with Examples - First Code School

    Jun 27, 2024 · Strings play a pivotal role in programming, serving as objects designed to hold sequences of character values. This article explores the creation, manipulation, and storage of …

  9. String in Java (Examples and Practice) - CodeChef

    Learn the basics of Java strings in this beginner-friendly guide. Discover how to create, manipulate, and slice strings with easy-to-follow examples and coding tasks.

  10. Java – String Class and Methods with examples - BeginnersBook

    Oct 25, 2022 · In this tutorial we will learn about String class and String methods with examples. There are two ways to create a String in Java. 1. String literal. A string literal is a sequence of …

  11. Some results have been removed
Refresh