About 241,000 results
Open links in new tab
  1. java - String palindrome without using built in functions - Stack Overflow

    Oct 1, 2016 · The below given is the simplest way to check if the enteredenter code here string is a palindrome. import java.util.Scanner; public class Strng { public static void main(String[] …

  2. Java Program to Check Whether a String is a Palindrome

    Apr 15, 2025 · In this article, we will go through different approaches to check if a string is a palindrome in Java. Example Input/Output: Output: True. The brute force or naive approach to …

  3. Java Program to Check if a String/Number is Palindrome

    A string is called a palindrome string if the reverse of that string is the same as the original string. For example, radar , level , etc. Similarly, a number that is equal to the reverse of that same …

  4. Java program to check palindrome string - HowToDoInJava

    Learn to check if a string is palindrome string with simple java programs using stack, queue, for and while loops. A palindrome is equal to its reverse.

  5. Palindrome in Java with Program - Scientech Easy

    Feb 2, 2025 · Let’s create a program to check whether a given string is palindrome or not, using empty string logic and for loop. import java.util.Scanner; public class StringPalindrome { . …

  6. java - Check if a given string can be a palindrome by altering …

    Apr 29, 2015 · I was asked in an interview to write code to check if a given string is a palindrome or can be a palindrome by altering some character without using library function. My logic is to: …

  7. Palindrome Program in Java - Tpoint Tech

    Dec 8, 2024 · This Java program checks whether a given string or number is a palindrome. It takes user input, reverses it, and then compares it with the original input. If both are the same, …

  8. Java 8 Streams - Checking Whether String is Palindrome Or Not

    Nov 9, 2021 · In this tutorial, We'll learn how to check the given string is palindrome or not in java 8 programming. Palindrome means when the string is reversed, it is as same as the original …

  9. java - Check whether a given String is palindrome or not without using ...

    Sep 16, 2018 · I was asked in an interview to write code to check if a given string is a palindrome or can be a palindrome by altering some character without using a library function. Here is my …

  10. How to check if a String is a Palindrome using Java 8 Streams

    Dec 9, 2019 · In this post, we will see “How to check if the String or Number is Palindrome or not with the help of Java 8 Streams API?” Java 8 Streams power to test Palindrome... Check it …

  11. Some results have been removed
Refresh