Write a Java program to check String is Palindrome or not. || Java Programming Tutorials

  Рет қаралды 9,845

Learning and Teaching Coding

Learning and Teaching Coding

Күн бұрын

A palindrome string is a string that is same after reverse.
This Java program asks the user to provide a string input and checks it for the Palindrome String.
Scanner class and its function nextLine() is used to obtain the input, and println() function is used to print on the screen.
Scanner class is a part of java.util package, so we required to import this package in our Java program.
We also required to create an object of Scanner class to call its functions.
To check if a string is a palindrome or not, a string needs to be compared with the reverse of itself.
Consider a palindrome string: wow,
---------------------------
index: 0 1 2
value: w o w
---------------------------
#LearningandTeachingCoding
#JavaProgrammingTutorials
#JavaPrograms

Пікірлер: 10
@ansishahid9087
@ansishahid9087 4 ай бұрын
Your video is very helpful and thanks for your efforts and posting the video. Even though I don't know Hindi somehow I can understand everything you said
@LearningandTeachingCoding07
@LearningandTeachingCoding07 4 ай бұрын
So nice of you Thank you 😊
@KuresaMirza-oe7wi
@KuresaMirza-oe7wi Жыл бұрын
Informative concept Nice ❤
@LearningandTeachingCoding07
@LearningandTeachingCoding07 10 ай бұрын
Thank you ☺️
@Smiley0337
@Smiley0337 10 ай бұрын
Good work 😊
@LearningandTeachingCoding07
@LearningandTeachingCoding07 10 ай бұрын
Thank you so much 😊
@akashrai5253
@akashrai5253 Жыл бұрын
Appreciative mam, keep going😊
@LearningandTeachingCoding07
@LearningandTeachingCoding07 Жыл бұрын
Thank you so much ☺️ Keep learning and support my channel to grow :)
@Giriagroandfashion
@Giriagroandfashion Жыл бұрын
Perfect
@LearningandTeachingCoding07
@LearningandTeachingCoding07 Жыл бұрын
Thank you so much :) Keep learning and support my channel to grow
How to find Simple Interest through a Java program || Java Programming Tutorials
6:28
Learning and Teaching Coding
Рет қаралды 9 М.
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 10 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 36 МЛН
Palindrome Program In Java Tutorial #63
9:50
Alex Lee
Рет қаралды 104 М.
Palindrome String Program In Java | In Hindi
14:44
codeitup
Рет қаралды 24 М.
Java Program #10 - Palindrome Number in Java
10:03
Programming For Beginners
Рет қаралды 16 М.
Java Program to check both Strings are rotation of each other
10:43
Learn With KrishnaSandeep
Рет қаралды 19 М.
Learn Java in 14 Minutes (seriously)
14:00
Alex Lee
Рет қаралды 4,8 МЛН
Java Program to Check Number is Palindrome or Not | Learn Coding
12:18
Java Program to Check whether a String is Palindrome or Not
6:30
Programming Tutorials
Рет қаралды 17 М.
Program to Reverse A String in Java by Deepak
9:01
Smart Programming
Рет қаралды 416 М.