ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Reverse A String In Java | Program To Reverse A String | Reverse String In Java | Java Interview

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ส.ค. 2024
  • Reverse A String In Java | Program To Reverse A String | Reverse String In Java | Java Interview Questions
    #java #javainterviewquestionsandanswers #javaprogramming #reverse #javatutorial
    In this program, you'll learn how to reverse a string in java.
    To understand this example, you should have the knowledge of the following Java programming topics:
    Java Data Types (Primitive)
    Java Operators
    Java Loop
    java string methods
    JAVA Interview Questions for Freshers: • JAVA Interview Questio...
    Python Tutorial - • Python Tutorial For Be...
    HTML TUTORIAL - • HTML Tutorial For Begi...
    CSS TUTORIAL -
    • CSS Tutorial For Begin...
    Python Coding Program Example - • Python Program Examples
    Your Queries -
    Java Interview Questions And Answers
    Java Coding Interview Questions
    How To Reverse a string in java
    Reverse a string in Java
    charAt method In Java
    length method in java
    @codecrush

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

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

    This was the best explanation ever thank u… everyone else vids talk about using an array then using the for loop and writing the expressions backwards … this vid was so much better explained

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

      Thanks! Do subscribe to channel

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

    It's really very clear explanation 🤠

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

      Thank you! Do like & Subscribe to channel 👍

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

    Thnx dude ... u gave an easy explanation but this ques is better if done with 2 pointer
    still thnx

  • @user-pn4hx9px9j
    @user-pn4hx9px9j 5 หลายเดือนก่อน

    Just so simple to understand bro. Great work

  • @luongdungnguyen6770
    @luongdungnguyen6770 6 หลายเดือนก่อน +1

    i love you man, just subscribed !!

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

    Super exaplantion sir

  • @programmingForever
    @programmingForever 6 หลายเดือนก่อน +1

    class Rev {
    public static void main(String[] args) {
    System.out.print("Enter a word : ");
    String a = new Scanner(System.in).next();
    int l=a.length()-1;
    for (int i=l-1;i>-1;i--)
    a+=String.valueOf(a.charAt(i));
    System.out.print("reverse : "+a.substring(l,a.length()));
    }
    }
    //Well, is this a good way to do this??

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

    Good Explanation bro. I easily understood.

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

    Amazing explanation ❤

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

    You got a new subscriber ❤

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

    Thank you so much ❤

  • @-AnimgiChandu
    @-AnimgiChandu 16 วันที่ผ่านมา

    Nice bro

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

    I understand very well tanq sir 🙏🙏

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

    public class Hello {
    public static void main(String args[]) {
    String a="Oye kya";
    int lent=a.length();
    for(int i=lent-1;i>=0;i--)
    {
    char c = a.charAt(i);
    System.out.print(c);
    }
    }
    }
    I feel this easiler 😅 and simple 🤪

    • @austintran451
      @austintran451 10 หลายเดือนก่อน +1

      Neither his solution nor your solution is the most efficient. Using two pointers would be more efficient

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

    Thank you so much for such great explaination

  • @user-vt9ml9ob2f
    @user-vt9ml9ob2f ปีที่แล้ว

    explanation is super 👌👌👌👌

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

    Thank u very much sir. Nice explaination keep doing sir

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

    awesome explanation guru

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

    Good explanation,sir plz make a video on reverse an Array

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

      Ok, Will upload it soon.

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

      Thank you sir, if u make complete programming on Array it will b very helpful.

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

    Thank you sooooo much❤

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

    Thank you

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

    Thankyou sir very helpfull💯

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

    nice brother
    clear explanation

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

      Thanks! Do subscribe to channel 👍

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

    Good explanation dude

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

    nice explanation

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

    Good explanation ✨

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

    Thank you u made it clear!

  • @ViSHNu_sk-7587-
    @ViSHNu_sk-7587- 6 หลายเดือนก่อน

    thankyouuuu😍

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

    I wanted a String Builder Explanation with use of these question can you do this?

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

    Really amazing.. keep going 👍

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

    Good one bruh❤

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

    Bro upload string reverse using string builder and buffer please 👍