Package com.project

Class PalindromeChecker

java.lang.Object
com.project.PalindromeChecker

public class PalindromeChecker extends Object
Main class for the Palindrome Checker application.

This program checks if a given word or phrase is a palindrome. It ignores spaces, punctuation, and case sensitivity while checking.

Version:
1.0.0
Author:
Anurag Zete
  • Constructor Details

    • PalindromeChecker

      public PalindromeChecker()
  • Method Details

    • main

      public static void main(String[] args)
      The entry point for the Palindrome Checker application.

      Displays a welcome banner, prompts the user for input, and checks whether the entered phrase is a palindrome. The program loops until the user chooses to exit.

      Parameters:
      args - Command-line arguments (not used).
    • checkContinuity

      private static boolean checkContinuity(Scanner input)
      Asks the user whether they want to check another phrase.
      Parameters:
      input - The Scanner object used to read user input.
      Returns:
      true if the user wants to continue, false otherwise.