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

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

    String Programs In Java with Examples. 1) Take String Input In Java using Scanner Class:- Develop a Java program to take string input, store it in a variable and display it.

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

  4. 25+ Frequently Asked Java String Interview Programs - Java

    May 21, 2015 · In this post, I have collected some of the frequently asked Java string interview programs. I hope it will be helpful to you guys. 1) Write a Java program to find the duplicate …

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

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

  7. Java String Exercise - GeeksforGeeks

    Apr 25, 2024 · Take a look at our Java String Exercise, which will cover the Practice Problems in Java with a series of Java String exercise questions that will help you practice and reinforce …

  8. String Programs in Java - Sanfoundry

    Here is a collection of the best Java string programs and algorithms. Java string programs for string operations, string matching, approximate string matching, and encryption algorithms.

  9. String Programs in Java with Output - Java Guides

    Here is a list of String Programs with output. The source code from these String programs was well-tested in our development environment. We have used JDK 8 or later to develop these …

  10. Java String Programs for Beginners 2025 - Javacodepoint

    Mar 22, 2025 · Java string programs are a critical skill for Java developers, and these programs will help you build strong problem-solving abilities. String-based questions often appear in …

  11. Some results have been removed
Refresh