Frequently Asked Java Program 04: Palindrome Number | How to Check Given Number is Palindrome or Not

preview_player
Показать описание
Topics :
-----------
1) Palindrome Number
2) How to Check Given Number is Palindrome or Not

#########################
Udemy Courses:
#########################

Manual Testing+Agile with Jira Tool
************************************

Selenium with Java+Cucumber
********************************

Selenium with Python & PyTest
********************************

Selenium with python using Robot framework
****************************************

API Testing(Postman, RestAssured & SoapUI)
*****************************************

Web & API Automation using Cypress with Javascript
********************************************

Playwright with Javascript
**************************

Jmeter-Performance Testing
************************

SDET Essencials(Full Stack QA)
*************************

Appium-Mobile Automation Testing
************************************

Java Collections
*****************

Python Programming
*********************

Cucumber BDD Framework
***************************

Protractor with Javascript
***************************

####################################
Youtube Playlists:
####################################

Manual Testing & Agile
***********************

SQL
*************************

linux & Shell Scripting
**********************

Java
**********************

Selenium With Java+Cucumber
********************************

Python
********************************

Selenium With Python,Pytest&Behave
***************************************

Selenium With Python Using Robert Framework
(Web&API Testing)
*************************************************

API Testing (Postman,SoapUi,&Rest Assured)
**********************************************

Mobile App Testing Appium
****************************

Performance Testing Jmeter
*******************************

Maven,Jenkins,Git,Github,CI/CD
*******************************

SQL,DB Testing&ETL,Bigdata
*******************************

JavaScript Based Automation Tools
********************************

Selector Hub Tools
********************

GraphQL
******************

Cypress API Testing
********************

Cypress Web Testing
**********************

Playwright with Javascipt
**************************

#PalindromeCheck
#NumberPalindrome
#PalindromeTest
#NumberAnalyzer
#NumericPalindrome
#PalindromeVerification
#NumberMirror
#PalindromeOrNot
#PalindromeIdentifier
#NumericalMirror
#PalindromeValidation
#NumberReversal
#PalindromeInspection
#NumericMirror
#PalindromeQuery
#NumberFlip
#PalindromeProbe
#NumericReversal
#PalindromeAssessment
#NumberReflection
#PalindromeScan
#NumericFlip
#PalindromeQuest
#NumberReflect
#PalindromeInquiry
#NumericProbe
#PalindromeSearch
#NumberPalindromicity
#PalindromeExam
#NumericQuest
#NumberSymmetry
#PalindromeAnalysis
#NumericInvestigation
#SymmetricNumberCheck
#PalindromeSurvey
#NumericSymmetry
#MirrorNumberCheck
#PalindromeScrutiny
#SymmetryTest
#MirrorPalindrome
#PalindromeCheckup
#SymmetricalNumber
#MirrorSymmetry
#PalindromeEvaluation
#SymmetryVerification
#MirrorPalindromicity
#PalindromeAudit
#SymmetryAssessment
#MirrorSymmetric
#PalindromeInspection
Рекомендации по теме
Комментарии
Автор

Thank you, though this is a very simple program, the right explanation is necessary for your way of teaching is easy to understand and to the

mandeep
Автор

Sir Please make a how to add 2 binary 2. Decimal to binary conversion and so on

christeenajj
Автор

StringBuffer sb= new StringBuffer (String.value of(num));
StringBuffer rev= sb.reverse();
System out println("reverse is"+rev);
If (num= rev)
{
System out println ("it is a. Palindrome")
}
Else
{
System out println (" Not palindrome")
}
Is this right?

sanketr
Автор

I'm impressed with how you were able to debug that complex bug ❣️

coding.tutorial
Автор

Thank you Sir, your explaining multiple logic it's very useful

sathishruthiran
Автор

you din't explain the main logic to reverse a no.

surajdtadakhe
Автор

Very nice and easy explanation, thank you so much sir 😊

santoshpr
Автор

Another way :
public static boolean isPalindrome(String s) {
int length = s.length();
boolean isPalindrome = true;
for(int i = 0; i < length/2; i++){
if(s.charAt(i) != s.charAt(length-1-i)){
isPalindrome = false;
break;
}
}
return isPalindrome;
}

HocineFerradj
Автор

You explain it the best way thanks a lot sir...Best

swatiwadghane
Автор

Thank you very much sir .. this is more helpful to me ...am searching for amstrong number and more...

prabathkotti
Автор

we can firstly check if number is having even number digits of odd....for palindrome number has to be odd number digits
1234 is not palindrome

vikrantharne
Автор

Palindrome Descendant Java Coding Challenge | How'd You Code That? | Episode 18

EdClarkHYCT
Автор

Sir one doubt
Why you have assigned that num to org_num
Pls explain..?

harishm
Автор

i didn't understand by take int org_num ? as we already have num?

nainagupta
Автор

Showing error while using (org_num == rev)

//Palindrome number

import java.util.Scanner;
public class Code{
public static void main(String[] args){

Scanner sc= new Scanner (System.in);
System.out.println("Enter a number");

int num= sc.nextInt();
int org_num= num;

StringBuffer sb= new StringBuffer (String.valueOf(num));
StringBuffer rev= sb.reverse();

if(org_num == rev) // showing error that cannot use int and StringBuffer at the same time
{
System.out.println(org_num + "No is Palindrome");
}
else{
System.out.println(org_num + " No is not Palindrome");
}
}
}

plantedparadise
Автор

Sir please make video Playlist for Tosca test suite pls it's very expensive in Institutes

akhilsyed
Автор

Sir can you please teach how to find the nearest perfect square number in java

jayashreebalaji
Автор

How it reversing the no pleas tell me sir

hubliorganic
Автор

Pls explain Armstrong number program brother

shobhamary
Автор

Any one can tell that how we get palindrome number using buffer class

piyushpatil
join shbcf.ru