Java program to check Number is Palindrome or Not | Learn Coding

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ธ.ค. 2020
  • Java Full Course for Beginners...!👇👇
    • Java Programming
    Please Like | Share | SUBSCRIBE our Channel..!
    Learn Coding
    🙏🙏🙏
    Like our Facebook Page...!
    Learn Coding
    Don't forget to tag our Channel...!
    #PalindromeNumber
    #LearnCoding
    #palindromeprogram
    #JavaPalindromeProgram
    #JavaBasicPrograms
    #ask4help
    #javapalindrome
    #Palindrome
    #palindromeornot
    #palindrome
    #JavaPalindromeNumber

ความคิดเห็น • 88

  • @Hayat26474
    @Hayat26474 ปีที่แล้ว +14

    dry run is mind blowing , it helps me a lot , thanku sir

  • @Future_developer___
    @Future_developer___ 20 วันที่ผ่านมา

    Yee Channel Mujhe Java developer bana ke he manega
    Hats off 🙏

  • @itspriyanka77
    @itspriyanka77 10 หลายเดือนก่อน +4

    Thankyou so much for explaining it in both ways.👍

  • @mitjain6286
    @mitjain6286 22 วันที่ผ่านมา

    You are just great at explaining

  • @abhijayshah74
    @abhijayshah74 2 หลายเดือนก่อน +1

    thankyou so much for giving clear concept

  • @nikitakalkute9907
    @nikitakalkute9907 ปีที่แล้ว +3

    Amazing teaching...nice one 👍👍

  • @poojam7236
    @poojam7236 ปีที่แล้ว

    Thank you sir ❤ your videos helped me a lot 😊❤❤

  • @HuskyWorld994
    @HuskyWorld994 ปีที่แล้ว +10

    finally understand the logic of palindrom number🙂 Thank u so much👍

  • @joysingha8233
    @joysingha8233 2 หลายเดือนก่อน

    Wonderful dry run Sir.. really right now zero to hero student got it

  • @ashwinishete511
    @ashwinishete511 2 ปีที่แล้ว +2

    Very nice teaching

  • @sanjeevanisutar6764
    @sanjeevanisutar6764 8 หลายเดือนก่อน

    Super ,I am definitely understand sir....thank you😊

  • @vansh72258
    @vansh72258 4 หลายเดือนก่อน

    best teacher for coding

  • @ManishKumar-lh6ol
    @ManishKumar-lh6ol 2 ปีที่แล้ว +2

    You are great Sir🙏💓

  • @skshareena5013
    @skshareena5013 8 หลายเดือนก่อน

    excellent explanation bro,i understand very clearly ,thanks bro.

  • @ayushkashyap3358
    @ayushkashyap3358 9 หลายเดือนก่อน

    Thank you so much for your good explanation ❤️❤️🥺🥺

  • @palakgoyal1835
    @palakgoyal1835 2 หลายเดือนก่อน

    excellent explaination. thanks for dry run.

  • @wasimahmad9927
    @wasimahmad9927 5 หลายเดือนก่อน

    Thanks sir
    I watch your videos i easy to understand

  • @user-qp7hz5mq6p
    @user-qp7hz5mq6p 10 หลายเดือนก่อน

    Thanku sir bahot aache se explain kiya sir😊

  • @akshitaagarwal-rb4oc
    @akshitaagarwal-rb4oc ปีที่แล้ว +1

    Thanku sir finally i know how to make this program

  • @kainaatmakhani6550
    @kainaatmakhani6550 2 ปีที่แล้ว

    Good job

  • @Micheallepch
    @Micheallepch 2 ปีที่แล้ว

    Thanks for your help 😀😀🙏

  • @ramaduttagupta5427
    @ramaduttagupta5427 2 หลายเดือนก่อน

    Nice
    Teaching I like 😊 it

  • @mahimaambedkar1711
    @mahimaambedkar1711 3 ปีที่แล้ว

    Thank you sir ....aa gya smjh

  • @sukanyaghosh24
    @sukanyaghosh24 ปีที่แล้ว

    Amazing,🤘

  • @Giriagroandfashion
    @Giriagroandfashion 9 หลายเดือนก่อน

    Excellent

  • @anchalkumarguptagupta6980
    @anchalkumarguptagupta6980 ปีที่แล้ว

    Sir this video is help us tooo much thanks sir

  • @shubhamprajapati7150
    @shubhamprajapati7150 2 ปีที่แล้ว

    Aap kaafi accha padhate ho sir

  • @-a1584
    @-a1584 ปีที่แล้ว

    sir aap ki khass baat yahi hai ke aap dry run bahout hi achche se karwate ho

  • @rajnandinigorai6505
    @rajnandinigorai6505 3 หลายเดือนก่อน

    Make more program on java including dsa

  • @MrPvp009
    @MrPvp009 3 หลายเดือนก่อน

    Thank you sir you are my saviour

  • @sandeepzamre633
    @sandeepzamre633 2 ปีที่แล้ว

    Thank you sir

  • @saarthakbharwal7872
    @saarthakbharwal7872 2 ปีที่แล้ว +2

    Nice explanation sir

  • @KanchanKumari-wb9jr
    @KanchanKumari-wb9jr หลายเดือนก่อน +1

    I have a doubt🤔
    Hm to s=0 Initialize kiye h na to jb hm line 16 pe
    s= (s×10) +r; kr rhe h to s=1 hona chahiye na kyu ki
    0× 10+1=1 hota h
    Edit -: please reply me sir

  • @vivekmalviya3036
    @vivekmalviya3036 หลายเดือนก่อน

    Thank u sir

  • @trishool2605
    @trishool2605 ปีที่แล้ว

    Nice Explaination bro

  • @sravyagudla5313
    @sravyagudla5313 ปีที่แล้ว

    Thank you so much

  • @hrishikeshmukherjee813
    @hrishikeshmukherjee813 ปีที่แล้ว

    best channel

  • @saidurgaprasadedu176
    @saidurgaprasadedu176 ปีที่แล้ว +1

    dry run both acha bhai

  • @farazahmad0587
    @farazahmad0587 3 ปีที่แล้ว +2

    Thanks Ankush sir
    Next program Fibonacci series please sir 🙏🙏

  • @asadmotivation2710
    @asadmotivation2710 2 ปีที่แล้ว +2

    Sir please upload program of GCD of two numbers and LCM of two numbers in Java

  • @learnhumanity6701
    @learnhumanity6701 ปีที่แล้ว +1

    Thank you so much, Sir. Very nice Explanation. But, sir can you please explain? from where did this logic come for palindrome. And what is "s" in the program?

    • @galaxyslayer4189
      @galaxyslayer4189 ปีที่แล้ว +4

      s is sum

    • @monalisart
      @monalisart ปีที่แล้ว

      S is just a variable, where u can store value..

  • @shreetiturkar1078
    @shreetiturkar1078 ปีที่แล้ว

    thanks a lot

  • @Deval2535
    @Deval2535 ปีที่แล้ว

    Good

  • @hrishikeshmukherjee813
    @hrishikeshmukherjee813 ปีที่แล้ว

    best

  • @JAX-RS
    @JAX-RS ปีที่แล้ว +2

    Hello sir! I have a question to you! Do u provide online class ? I am interested to join your class and hope to get your contact details!

  • @Karan-ty6ol
    @Karan-ty6ol 5 หลายเดือนก่อน

    Sir agar hum isse constructer vale me Boolean check me bhi same logic lageyga kya

  • @soumit3752
    @soumit3752 8 หลายเดือนก่อน

    Thank you for dry run

  • @OpinionOfX
    @OpinionOfX 2 ปีที่แล้ว

    ,👌

  • @babanpanzade8828
    @babanpanzade8828 9 หลายเดือนก่อน

    Please make video for logest palindrome substring

  • @v-nom3675
    @v-nom3675 2 หลายเดือนก่อน

    ❤❤😱😱😱😱❤❤

  • @whitedevil-xm4ug
    @whitedevil-xm4ug ปีที่แล้ว

    😊😊😊👍🏻👍🏻👍🏻👍🏻👍👍👍

  • @bhargavaaryanboom7321
    @bhargavaaryanboom7321 ปีที่แล้ว

    3:24 (note to myself becuz i know until here and I'm gonna watch this video soomany times i keep forgetting this logic)

  • @mr._hrathod
    @mr._hrathod ปีที่แล้ว

    It is very hactic task need to learn but while solving through reverse loop it gives wrong output why

  • @mohitchopra9894
    @mohitchopra9894 2 ปีที่แล้ว

    nice explanation...keep going....do much better

  • @being_solituder
    @being_solituder ปีที่แล้ว

    Very nice programming sir

  • @pranav0585
    @pranav0585 2 ปีที่แล้ว

    Op bhai

  • @vikashkumar_-xr9xq
    @vikashkumar_-xr9xq 2 ปีที่แล้ว

    Sir aap kaunse company mai job karte ho...

  • @priyankarathod5972
    @priyankarathod5972 2 ปีที่แล้ว

    Why multiply s*10
    Add nahi kar sakte kya

  • @shraddha429
    @shraddha429 2 ปีที่แล้ว +1

    Sir
    C=N ; ke jagah pe this keyword use krke (this.n=n) program run kr skte hai kya..

    • @LearnCodingOfficial
      @LearnCodingOfficial  2 ปีที่แล้ว +1

      Nhi kr skte kyonki last me hm compare kaise krenge original number se.

  • @yashrathod503
    @yashrathod503 ปีที่แล้ว

    how to find bouncy number ?

  • @factworld1447
    @factworld1447 ปีที่แล้ว +1

    Sir I am not able to understand the logic part of reverse and n = n % 10 can you please explain me

    • @shreyan563
      @shreyan563 ปีที่แล้ว

      😂😂

    • @pampasaha8431
      @pampasaha8431 6 หลายเดือนก่อน

      So if u do n%10 then u get the last digit coz modulus gives u the reminder itz like divides and gives u the reminder (the modulus or % )❤

  • @abhishekgorshi9822
    @abhishekgorshi9822 ปีที่แล้ว +1

    import java.util.Scanner;
    class Palindrom
    {
    public static void main(String[] args)
    {
    int num,rem,num2=0;
    System.out.print("please enter a number");
    Scanner r=new Scanner(System.in);
    num=r.nextInt();
    int tn=num;
    while(num>0)
    {
    rem=num%10;
    num2=(num2*10)+rem;
    num=num/10;
    }
    if (tn==num2)
    {
    System.out.print("this is palindrom");
    }
    else
    {
    System.out.print("this is not palindrom");
    }
    }
    }

  • @rollnotwentythree
    @rollnotwentythree 7 หลายเดือนก่อน

    Sir infinite digits ke liye kese kare?

  • @Recruitkart
    @Recruitkart หลายเดือนก่อน

    Bhai tune to confusion ko x2 kr diya🙂

  • @AbhishekGusinge
    @AbhishekGusinge 4 หลายเดือนก่อน

    it is showing error while writing else

  • @softwareengineeringbyarfat8410
    @softwareengineeringbyarfat8410 ปีที่แล้ว +2

    3:12 logic start

  • @tarandeeprathore7640
    @tarandeeprathore7640 2 ปีที่แล้ว

    Why do you write n=n/10

  • @iammessy8697
    @iammessy8697 ปีที่แล้ว

    lekin bro 100 ka palimdrom 1 aaraha hai ham aisa kya kare ki 001 aaye ok please tell me bata na bhai

  • @aryamishra3734
    @aryamishra3734 ปีที่แล้ว +1

    ..r=1 kese hua...

    • @AnshumanST
      @AnshumanST ปีที่แล้ว

      in this program he gave variable 'n' value of 121 and he wrote "r=n%10" so it will be "r=121%10" the "%(mod)" operator helps in finding the remainder of a division, when 121 is divided by 10 the remainder will be 1 so "r=1"

  • @nitishsharma2194
    @nitishsharma2194 ปีที่แล้ว

    int n to thik hai but uske aage jo likha hai aap r,c,s=0; itna short me dikhane l
    ki kya jarurat hai brginer personto samjh nahi payega na

  • @TheUGUltimatumYT
    @TheUGUltimatumYT ปีที่แล้ว

    samajh ni aa raha sir

  • @Aaysha2594
    @Aaysha2594 8 หลายเดือนก่อน

    Sum =0 nhi liya to kya hoga

    • @RoyalRaj-hh8iq
      @RoyalRaj-hh8iq 5 หลายเดือนก่อน +1

      Then error dikhayega... Kyuki aapne variable" sum "ko initialize nhi kiya hai...

  • @jatinacademy9933
    @jatinacademy9933 ปีที่แล้ว +2

    Kashmir hamara hai

  • @Akedit337
    @Akedit337 3 หลายเดือนก่อน

    Icse students attendence here

  • @subhan_kausar
    @subhan_kausar ปีที่แล้ว

    fresher interview mein pooche jaate hain aise questions??

  • @rdkhan476
    @rdkhan476 ปีที่แล้ว

    Python se khelte

  • @vivekmalviya3036
    @vivekmalviya3036 หลายเดือนก่อน

    Thank u sir

  • @RK-tu4ht
    @RK-tu4ht ปีที่แล้ว

    Thank you sir

  • @NitianRahul333
    @NitianRahul333 ปีที่แล้ว

    Thankyou sir