Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Palindrome checker in java. I tried my best to put it in one image but had to break it in 4. Also, please use the

Palindrome checker in java. I tried my best to put it in one image but had to break it in 4.

Also, please use the Character class to help determine if you have a digit or alphabetic character. The methods are isDigit and isAlphabetic. Also, please make sure to add lots of comments in it because I'm fairly new to coding. Please look at whether the methods are supposed to be public or private carefully.getInputLine method should be 3 lines of code. isEmptyLine method should be 1 line of code. Here is the assignment:

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

In this assignment, you are to determine if an input string is a palindrome and, if it is, what type of palindrome. A palindrome for this assignment is defined as "a number, word or phrase consisting of alphanumeric characters that reads the same frontwards and backwards while ignoring case, punctuation and white space'. For this assignment, create a package named assignl and name your file Assignljava. UML Class Diagram Assign main (String 0): void getInputLine 0: String isPalindrome (String): boolean isEm Line (String): boolean getPal Type (String): String Notes on the UML Class Diagram There is only one class. Assignl Underlining the name of the variable/method in a UML class diagram indicates that the variable or method is static. This means that all methods are static. There are no class level variables. The main is public while the other methods are private. Limitations on Java Classes For this assignment, you are limited to the following Java library classes. 1. Scanner 2. String 3. Character

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

Select suitable tools to analyze service problems.

Answered: 1 week ago