Branch: CSE Section/Group: 720 (A) Semester: 3rd Date of Performance: Subject Name: Object Oriented Programming Using Java Subject Code : 21CSH-218
Objective: Implement a program to check if string is palindrome in Java on Hackerrank.
Aim of the practical:
A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. Given a string , A print Yes if it is a palindrome, print No otherwise. 1
Constraints A will consist at most lower case english letters.
Sample Input madam
Sample Output Yes
Program Code: DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Output:
Learning outcomes (What I have learnt):
1. Learnt the concept of String in Java. 2. Learn about reversing String in Java. 3. Learnt about palindrome.