Strings in One Shot | Java Lecture 49 | java srings | strings | stringbuilder |

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 273

  • @CollegeWallahbyPW
    @CollegeWallahbyPW  Год назад +15

    Decode Batch:- DSA with C++
    pwskills.com/course/Decode-DSA-with-C++ (Hinglish)
    Binary Batch:- Java-with-DSA-&-System-Design (Java with DSA & System Design)
    pwskills.com/course/Java-with-DSA-and-system-design (Hindi)
    pwskills.com/course/Java-with-DSA-and-System-Design (English)
    Sigma Batch:- Full-Stack-Web-Development (MERN Stack)
    pwskills.com/course/Full-Stack-web-development (Hindi)
    pwskills.com/course/Full-Stack-Web-Development (English)
    Impact Batch:- Data-Science-Masters (Full Stack Data Science)
    pwskills.com/course/Data-Science-masters (Hindi)
    pwskills.com/course/Data-Science-Masters (English)

    • @HariomModi777
      @HariomModi777 Год назад

      Sir please take full part on java

    • @-ECE-ANIKETKUMARSINGH
      @-ECE-ANIKETKUMARSINGH 9 месяцев назад

      @CollegeWallahbyPW at 54:27 sir what about the substring "ac", "acd", "ad", etc what do to for this actually same type of question in todays potd of gfg dated 27 feb 2024. please help me

    • @-ECE-ANIKETKUMARSINGH
      @-ECE-ANIKETKUMARSINGH 8 месяцев назад

      MY DOUBT IS CLEAR SUBSTRING IS FOR CONT. SUBPART ONLY

  • @khyatichahal5416
    @khyatichahal5416 9 месяцев назад +24

    Raghav garg sir is the best teacher for coding for sure 💯... ❤so much respect from heart sir ..
    Your way of teaching is like as alakh sir for physics and chemistry ...
    Best teacher 🎉
    Guys plz follow his lectures for best knowledge gaining

  • @AmitKumaramitlpu1
    @AmitKumaramitlpu1 Год назад +12

    sir ..i m huge fan of yours...aapki video dekh ke hi mujhe java me intrest devolp hui..Thank you sir,God bless you

  • @johnsonsvaselly5008
    @johnsonsvaselly5008 Год назад +58

    Manvi maam i addicted to ur lecture plz return back maam. This is humble request maam don't leave ur students in the middle.

    • @Listenup831
      @Listenup831 Год назад +14

      Ye to bada wala nasedi nikala re baba 😂😂
      Aisa nasha hum bhi roj karte h, pado or aage bado

  • @prashantkohli7557
    @prashantkohli7557 Год назад +9

    String str = "AYAAZAM";
    Stringbuilder sb= new Stringbuilder(str);
    sb.reverse();
    Sout(sb);
    Thank you Raghav Sir❤

  • @ankitakumari343
    @ankitakumari343 Год назад +9

    Sir your communication skills are so good and teaching skills

  • @aamishcr7768
    @aamishcr7768 Год назад +27

    Raghav sir is the best teacher. Please sir upload full Java course in your own way.

    • @aryanraj9884
      @aryanraj9884 Год назад +3

      Mai sir ki java one shot follow kar rha hi toh wo thkk rahega?

    • @aamishcr7768
      @aamishcr7768 Год назад +5

      @@aryanraj9884 bilkul thik rahega,maine pehle sir se C padhi thi jisse meri C bohot achhi ho gayi thi aur ab main bhi sir ki jaava in one shot follow kar raha hun,inse badhiya aur deeply koi nahi samjhata hai, so you can definitely follow Raghav sir's Java in one shot videos

    • @aryanraj9884
      @aryanraj9884 Год назад

      Sir direct String pdha rhe h array wagera toh nhi padhaye ?

    • @aamishcr7768
      @aamishcr7768 Год назад +1

      @@aryanraj9884 sabse variables input/output wali video dekho sir ki, wahan se base clear ho jaayega kaise print karte hain kaise input waghera lete hain,uske baad jo bhi sir video daal rahe hain usse dekho chahe strings ho ya oops sab samajh aayega.Samajh Naa aaye to tum chhod sakte ho, waise aa hi jaayega

    • @aryanraj9884
      @aryanraj9884 Год назад +3

      If else ki video k baad direct string dekh skte h?

  • @pushpaKumari-jo1bm
    @pushpaKumari-jo1bm Год назад +4

    Thank You Sir You Are My Best Teacher No Body Teach Like You

  • @krishpatel_2383
    @krishpatel_2383 Год назад +7

    great content. covered all the important topics and the questions was like cherry on top.

  • @gourabrajak8132
    @gourabrajak8132 8 месяцев назад +1

    one of the best lecture on string,thnk u sir

  • @AshutoshKumar-kb8jx
    @AshutoshKumar-kb8jx 6 месяцев назад +2

    sir kasam se mazaa a gaya aapke dedication ko salaam hai mera thakyou so much sir

  • @Muskan_20062
    @Muskan_20062 2 месяца назад +1

    maza to aaaya but ab jab question khud se kar paungi tab jyada maza aayaga so thank you for this amazing lecture

  • @anshupriya9410
    @anshupriya9410 Год назад +3

    You are the best teacher in the world 😊

  • @vaineero2.0
    @vaineero2.0 7 месяцев назад +1

    Sir maja aa gya wo bhi bohot jyada

  • @ChinmoySarma-qp8gc
    @ChinmoySarma-qp8gc 4 месяца назад +2

    maza aa gaya. Thank you sir for this meticulus lecture

  • @ramitroshan123
    @ramitroshan123 Год назад +6

    Maza aa gaya. Thanku for the amazing lecture

  • @MRXYZANUJ
    @MRXYZANUJ 2 месяца назад +1

    I craked TCS prime just because learning c++ deccode 2.0 by Raghav sir ❤❤❤❤

  • @ghulamjunudchishti3440
    @ghulamjunudchishti3440 11 месяцев назад +2

    At- 2:01:58 Home Work Answer at my pace.
    after line 16, you add this code.
    if (asci>=48 && asci

  • @wth_narrator
    @wth_narrator 3 месяца назад

    Such a good explanation on RUclips , thanks sir .

  • @prats22
    @prats22 5 месяцев назад

    very well explained, beautiful lecture with very good pace , and great order of concepts

  • @kishnersuperbannumiyer7383
    @kishnersuperbannumiyer7383 Год назад +1

    Sir aap boohat sahi teach krte hai

  • @anonymous2I
    @anonymous2I 3 месяца назад +2

    raghav sir is best❤❤❤

  • @sonumewada-o8u
    @sonumewada-o8u 2 месяца назад

    raghav sir you are best man thanks lot

  • @er.shauryabansaliit-gwt7563
    @er.shauryabansaliit-gwt7563 Год назад +3

    Sir aage se aap hi continue kariyega pls 🙏

  • @mrityunjaypandey6830
    @mrityunjaypandey6830 2 месяца назад

    Mja aa gya but very basic lecture. Didn't expected that after 48 or 49 lectures

  • @marvelanddisneyworld3141
    @marvelanddisneyworld3141 9 месяцев назад +1

    Maaza Aagya Guruji

  • @SubhamSingh-n9i
    @SubhamSingh-n9i 4 дня назад

    Ek dum LalanTop Sirjii

  • @aryangupta3538
    @aryangupta3538 Год назад +7

    Where is manvi di
    Because she is wonderful mentor?

  • @ankitrai5486
    @ankitrai5486 Год назад +3

    Plz upload videos on regular basis

  • @MdAsghar-bd2yz
    @MdAsghar-bd2yz Год назад +7

    sir please continue java series.

  • @adityashukla6966
    @adityashukla6966 Год назад +4

    Sir please solve at lease major question of string as per the syllabus mentioned in pw skills websites do not just incompletee this course coz many of us are learning java and independent on pw java free course..... Please complete it indepth thorpughly

  • @GoogleRalCoderHUB9905
    @GoogleRalCoderHUB9905 9 месяцев назад +1

    Very nice sir

  • @useless0ful
    @useless0ful 2 месяца назад

    Maza aagaya! Thank you Sir!

  • @KartikBH-ld4kp
    @KartikBH-ld4kp Год назад +8

    @1:00:08 this is wrong. It works only if we do,
    int[ ] arr={1,2,3};
    int[ ] brr=arr;
    now if I change arr[0], brr[0] also changes.

  • @Anshumansahu23
    @Anshumansahu23 3 месяца назад +1

    for(int i=0;i=97)
    flag=false;
    if(flag==true)
    {
    asci+= 32;
    char dh=(char)asci;
    str.setCharAt(i,dh);
    }
    else{
    asci-=32;
    char dh=(char)asci;
    str.setCharAt(i,dh);
    }
    SOL FOR TOGGLECASE STRING with numbrs at 2:07:50

  • @sibtainalam8112
    @sibtainalam8112 Год назад +2

    Thanks for this wonderful lecture sir..

  • @vishalpathak9084
    @vishalpathak9084 8 месяцев назад

    maja aa gya sir tusi great ho

  • @jagannathsahoo6018
    @jagannathsahoo6018 Год назад +1

    Mazza agaya sir❤🙏👌

  • @abhishekjain9614
    @abhishekjain9614 5 месяцев назад

    watched full video will do some practice now

  • @SuhailKhan-i1w
    @SuhailKhan-i1w Год назад

    raghav sir you are genious

  • @ManishBhusal
    @ManishBhusal 9 месяцев назад

    easy solution for ` *1:49:04** Ques 3 : Toggle the characters of a given string* ` problem
    // Given a string, the task is to toggle all the characters of the string i.e.
    // to convert Uppercase to Lowercase and vice-versa.
    public class toggleCharacters {
    public static void toggle(StringBuilder str) {
    for (int i = 0; i < str.length(); i++) {
    char ch = str.charAt(i);
    if (Character.isUpperCase(ch)) {
    str.setCharAt(i, Character.toLowerCase(ch));
    } else if (Character.isLowerCase(ch)) {
    str.setCharAt(i, Character.toUpperCase(ch));
    }
    // Second approach
    // int ascii = str.charAt(i);
    // if (ascii >= 97 && ascii = 65 && ascii < 97) {
    // ascii += 32;
    // }
    // char ch = (char) ascii;
    // str.setCharAt(i, ch);
    }
    System.out.println("Toggled String: " + str);
    }
    public static void main(String[] args) {
    StringBuilder str = new StringBuilder("mAniSH BhusaL");
    System.out.println("Original String: " + str);
    toggle(str);
    }
    }

  • @rockysheoran9391
    @rockysheoran9391 Год назад +2

    Complete java ka one shot video Lana sir

  • @Gautam_Yadav1998
    @Gautam_Yadav1998 Год назад

    Sach me mja aa gya sir jee. Thanks

  • @pravinlife5699
    @pravinlife5699 Год назад

    Mja aagya Mja aagya Mja aagya Mja aagya Mja aagya Mja aagya Mja aagya jitni baar bolu utna kam hai ur great sir ❤️❤️ ji

  • @Niteshmaurya1234
    @Niteshmaurya1234 9 месяцев назад

    maza agya sir 2:54:00 completed in whole video in 2 days

  • @35_b_surajpawanshahu98
    @35_b_surajpawanshahu98 6 месяцев назад

    Raghav sir is best

  • @ChitralekhaMishra-c6x
    @ChitralekhaMishra-c6x 3 месяца назад

    maja aa gya bhaiya.u r best🥰

  • @s.s.anamika365
    @s.s.anamika365 Год назад +2

    Well done sir🙏✨👍👏

  • @saurabhmhatre5574
    @saurabhmhatre5574 Год назад

    Majja aa gaya...!!

  • @executiveone5598
    @executiveone5598 Год назад

    maza aa gaya last qn ka ans 👌

  • @dakshchikara3075
    @dakshchikara3075 Год назад

    Thank you sir i want you only for learning

  • @aniketbharti6376
    @aniketbharti6376 10 месяцев назад

    maja aa gya, thank you for great lecture🥰

  • @ParthDabhiOfficial
    @ParthDabhiOfficial 5 месяцев назад +1

    Maja aa gaya!, radha radha

  • @deepakgupta6355
    @deepakgupta6355 2 месяца назад

    maja aa gya sir 🤩

  • @niteshnandan4085
    @niteshnandan4085 Год назад

    JabarDat Sir

  • @shaikhadil5038
    @shaikhadil5038 Год назад

    Sir you are best teacher ❤❤❤❤❤❤❤❤❤❤❤❤❤❤😊❤❤❤

  • @janmejaysahu9011
    @janmejaysahu9011 Год назад +3

    Thank you so much sir ❤️

  • @AmberSparrow876
    @AmberSparrow876 4 месяца назад

    Great explanation 💫🔥

  • @rishikajain5720
    @rishikajain5720 Год назад +1

    Mazaa aa gya 🤩

  • @shhivanshh
    @shhivanshh Год назад

    Important points:
    29:30 - String concat and string '+' function
    1:02:13 and 1:16:30- Memory allocation in heap

  • @mathematicsmental4685
    @mathematicsmental4685 12 дней назад

    Maza aa gaya♥️

  • @yogi-rao_
    @yogi-rao_ Год назад +1

    wow maja aa gya😀😀

  • @randomdude492
    @randomdude492 8 месяцев назад

    pls give the notes of this lec,
    it would be immensely helpful

  • @motivationking11
    @motivationking11 Год назад +2

    congrats !! CollegeWallah on having 400k subscribers...

  • @rohitkamble6510
    @rohitkamble6510 Год назад

    Excellent Sir

  • @sasta_reporter
    @sasta_reporter 13 дней назад

    maja aagya raghav sir

  • @himanshutiwari169
    @himanshutiwari169 11 месяцев назад

    mazza Aa gaya yar

  • @amanshukla9749
    @amanshukla9749 Год назад +1

    maza aya

  • @imam_0075
    @imam_0075 10 месяцев назад

    01: 00:00 when we create two array with same value and change any value from one array it not reflect on another Array.

  • @prahladyadav9882
    @prahladyadav9882 Год назад

    Literally Sir mja aa gya ❤❤❤

  • @SachinYadav-l2x5i
    @SachinYadav-l2x5i 11 месяцев назад

    Maza aa gaya❤❤❤ 2:53:37

  • @SachinKumar-zl8ke
    @SachinKumar-zl8ke Год назад

    nice explanation ( maja aa gya)

  • @harshitgupta2909
    @harshitgupta2909 Год назад

    Sir, maza a gya sir literally may

  • @dhruv_1605
    @dhruv_1605 8 месяцев назад

    String s = "HELLO";
    System.out.println(s.length());
    Kisi Method Ke parameter Me Method?
    Inbuild method me
    Syntax kaya Hoga ?

  • @nabinkumarshaw4474
    @nabinkumarshaw4474 Год назад

    Mja aa gya ....nice lecture...

  • @DubbewarSakshi
    @DubbewarSakshi Год назад +1

    Nice sir

  • @sahilgupta03
    @sahilgupta03 10 месяцев назад

    Mazaa aa gya!!

  • @codebyprince4562
    @codebyprince4562 Год назад +1

    Nice 👍 Lecture Raghav sir 🎯!!

  • @ShivamGupta-ft9hc
    @ShivamGupta-ft9hc 2 месяца назад

    Maja aa gya sir

  • @arpit7618
    @arpit7618 Год назад +1

    You are awesome !!

  • @MdAsghar-bd2yz
    @MdAsghar-bd2yz Год назад +1

    sir please upload video every day

  • @ghanshyamoza5316
    @ghanshyamoza5316 Год назад +1

    mazaa aagaya. Thank you Raghav_/\_

  • @harshchouksey7740
    @harshchouksey7740 Год назад

    Maja Aagya sir👍👍👍

  • @Sachin_.10
    @Sachin_.10 Год назад +3

    💥💥Sir, 3-4 month ki placement course leke aayea n💢💥💥

  • @sanjeevtiwari7129
    @sanjeevtiwari7129 Год назад +1

    Maja aa gya...

  • @kailashkoli7232
    @kailashkoli7232 9 месяцев назад

    maza aa gaya sir

  • @mk6263
    @mk6263 Год назад

    Add subtitles it will be very helpful sir....

  • @monugit9
    @monugit9 Год назад

    Mazza aagya

  • @SUNNYVLOGS812
    @SUNNYVLOGS812 Год назад

    we can also do on thing that's
    char ch = str.charAt(i);
    if(ch>='a' && ch

  • @sumitpatil5516
    @sumitpatil5516 8 месяцев назад

    Maza aa gaya.

  • @SuhailKhan-i1w
    @SuhailKhan-i1w 10 месяцев назад

    maza a gaya sir

  • @SachinYadav-l2x5i
    @SachinYadav-l2x5i 11 месяцев назад

    Best speed of learning this lecture is 1×5x

  • @yupsplus2768
    @yupsplus2768 Месяц назад

    maza Aagay......😁

  • @kdeos1976
    @kdeos1976 7 месяцев назад

    May I know how the loop goes to ((n)*(n+1))/2 as you said in the video please answer me I am having doubt on this.

  • @subhranshuswayampravadash4656
    @subhranshuswayampravadash4656 Год назад

    Sir, maza aa gaya.

  • @AbdussamadAzad-hg6eb
    @AbdussamadAzad-hg6eb 10 месяцев назад

    Mazaa aa gaya

  • @natkhat-bateein
    @natkhat-bateein 10 месяцев назад

    mzaa aa gyaa

  • @01.abhaysingh69
    @01.abhaysingh69 9 месяцев назад

    Mjaa aagya😊

  • @manasranjandas3108
    @manasranjandas3108 Год назад

    maza aa gaya
    .....

  • @ganeshpaudel541
    @ganeshpaudel541 Год назад +2

    plz upload the oop java video fast