OOP 6 | Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

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

  • @KunalKushwaha
    @KunalKushwaha  4 หลายเดือนก่อน +6

    DSA + interview preparation playlist: th-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html

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

    "Makes sense", "Sounds good", "Okay", "Cool".

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

    20:30 if you cant understand: Generics provide type checks at compile time, and the produced bytecode only knows classes, methods and interfaces. Bytecode is executed at runtime and objects are created at runtime as well, Looking at bytecode, it doesn't contain the "type" of object we want to create, so it shows error.

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

      ya, may be the object creation statement (where the T is also present ) it will executed at run time and compiler will not be able to get the type of object.

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

      thank you

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

    41:18 In simple words.
    If 2 data are same the method must return zero(0).
    If 1st data is greater than 2nd data the method must return +1.
    If 1st data is smaller than 2nd data the method must return -1.

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

      2nd case there are positive num >0,3rd case there are negative num < 0

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

    Thanks for this course bhaiya.
    puri TH-cam main sirif apka course hai jisma recursion ko itna detail main explain kiya hai.

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

    For me Understanding oops is now easier than understanding how to use discord 😅

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

    Seriously there are many series on java but this particular series has some separate space in our ❤️

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

    Learned so many things at once. Rare video on youtube. Once again thank you very much Kunal.

  • @AkVertasium232
    @AkVertasium232 4 หลายเดือนก่อน +5

    best course in 2024 still 🙌no tier 1 didi will replace this free

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

    Kunal there is so much in this 1.5 hr video that is equivalent to 1 week of paid classes for 1.5 hr each day . So the one person that can encapsulate a 15 hr topic efficiently in 1.5 hr is one and only our Kunal.

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

      So true 😎💯

    • @gouravpanseja7236
      @gouravpanseja7236 9 หลายเดือนก่อน +5

      He literally rushed through so many things... didn't explain some.... didn't mentioned some.... and even left some for confusion..... have been following this sereis from the very beginning... but this one dissapointed me

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

      @@gouravpanseja7236agree. Have you done something about it ?, i am really confused what to do now,every vdo before this was good and i could understand most of the content matter but this one is just different

  • @74N
    @74N 2 ปีที่แล้ว +44

    I Never Like To Share Kunal's Video. I Hate Competition 😅

    • @Sudo_su_rm_rf
      @Sudo_su_rm_rf 4 หลายเดือนก่อน +7

      i Shared with Some but i know they never gonna complete this amazing playlist 😂

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

      Same here 😗

    • @fftamilan2155
      @fftamilan2155 3 หลายเดือนก่อน +2

      Wht are you doing now

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

      Same😂

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

      @shahsikalagowda183 tru

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

    Binged the OOPS playlist. 😁 Undoubtedly this was the best series. You keeping your word explaining every single line. Thanks for making our lives easier. Keep bringing such amazing series ! ♥

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

      Liar

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

      It would mean 11 hrs nonstop playing videos... doesn't make any sense..so liar

  • @yunik_developer
    @yunik_developer 11 หลายเดือนก่อน +2

    50:32 lamda functions are just like Arrow functions in js

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

    This video contains so many concepts but explained all it in the very easy way 👍👍🔥🔥

  • @ramlanjekar2773
    @ramlanjekar2773 ปีที่แล้ว +11

    this video was of very less energy and many things were taken in granted(i am saying this by watching every single video ) so people who are reading this may opt for any other videos for the given topic

    • @ramlanjekar2773
      @ramlanjekar2773 ปีที่แล้ว +6

      you just made this video very disappointing like i liked you throughout the series but last mai hugg diya

  • @Techky-y5f
    @Techky-y5f 5 หลายเดือนก่อน

    00:03 The video covers Generics, Custom ArrayList, Lambda Expressions, Exception Handling, and Object Cloning.
    03:56 Object cloning and exception handling discussed
    10:39 Overview of Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning
    14:06 Topics covered: Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning
    19:59 The video covers generics, custom ArrayList, lambda expressions, exception handling, and object cloning.
    22:56 Learn about generics, custom ArrayList, lambda expressions, exception handling, and object cloning.
    30:12 Overview of Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning
    33:33 Implementing Comparable and Generics in OOP
    40:34 Discussion on custom ArrayList and lambda expressions.
    44:29 The video covers Generics, Custom ArrayList, Lambda Expressions, Exception Handling, and Object Cloning.
    51:34 Introduction to consumer type and interfaces
    54:50 Topics covered: Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning
    1:02:00 Covered topics include generics, custom ArrayList, lambda expressions, exception handling, and object cloning.
    1:05:26 Introduction to Exception Handling and Generics
    1:12:03 Covered topics include exception handling, generics, and lambda expressions.
    1:15:56 The video covers Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning
    1:22:49 Understanding generics, custom ArrayList, lambda expressions, exception handling, and object cloning.
    1:25:23 Understanding object cloning and its significance in OOP
    1:31:54 Key concepts in OOP including generics, custom ArrayList, lambda expressions, exception handling, and object cloning.
    Crafted by Merlin AI.

  • @gouravpanseja7236
    @gouravpanseja7236 9 หลายเดือนก่อน +22

    He literally rushed through so many things... didn't explain some.... didn't mentioned some.... and even left some for confusion..... have been following this sereis from the very beginning... but this one dissapointed me

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

      honestly man

    • @rudhresh5547
      @rudhresh5547 วันที่ผ่านมา

      True

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

    I don't know what would i be doing, if i hadn't found this great man

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

    This course is the best, there were things I used to consider advance level may be I could not be able to understand but with your bootcamp nothing seems impossible.

  • @MoonDust-n1e
    @MoonDust-n1e 4 หลายเดือนก่อน +1

    Whatever Kunal teaches he teaches it best 👌

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

    Fear of java funds gone!!Thanks to you man:).

  • @BoyaRavikumar-c9f
    @BoyaRavikumar-c9f 5 หลายเดือนก่อน

    thankyou so much kunal bro......

  • @Rahulyadav-lv7dh
    @Rahulyadav-lv7dh 3 ปีที่แล้ว +28

    Some people hate this channel because they cannot digest the fact that CP is not necessary to be a good software Engineer
    well,A sun shouldn't stop shining because its light are hurting people eyes.
    keep shining Kunal we are with you

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

    Bro just noticed that sound is little bit low in videos coming now....previously it was good. Please look into it. Btw amazing lecture...got some concepts cleared!

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

      I had cold

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

      @@KunalKushwaha Ohh! Hope you are fine now😁….I thought it was some editing issue😅….btw thanks for reply!

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

    Thanks a lot for this wonderful course😃

  • @karanbadhwar4113
    @karanbadhwar4113 6 หลายเดือนก่อน +8

    How imp is Lambda function part ? As, I Couldn't understand lambda Function part.

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

      just remember its useful in higher order functions implementation

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

    Great Explanation Sir❤🙇‍♂🙏✨

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

    learned a lot from this DSA series . thanks kunal

  • @akshaykumar-wd8jc
    @akshaykumar-wd8jc 3 ปีที่แล้ว +1

    This one bootcamp is enough to master java,oop and DSA

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

    My love and gratitude for you Kunal thanks for this course

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

    Excellent teaching skills...its great learning from you!

  • @Dark-nt8hh
    @Dark-nt8hh 4 หลายเดือนก่อน +2

    33:59 Thanks for the life lesson.

  • @AbhishekRana-fx7le
    @AbhishekRana-fx7le ปีที่แล้ว +3

    Correction: In shallow copy as kunal said for non-primitive ones, reference variable points to original one only rather then making a new one but this not goes for string because since strings are immutable (we cannot change it)and hence it will create new string for the clone one

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

      bro kunal is right! no new string will be created

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

    kunal bhai aap jo kar rahe ho sahi kar rahe ho dsa k tuts bht ache hai 🔥

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

    Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!

    • @TOP5-n6v
      @TOP5-n6v 2 ปีที่แล้ว +1

      Nhi bnayega

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

    Functional interfaces are interfaces that have only one abstract method. They can,however, have multiple default or static methods. They are the basis for lambda expressions and method references in Java.

  • @shafaq-here
    @shafaq-here 2 ปีที่แล้ว +2

    Learnt a lot of new stuffs, oops series is Awesome. #LearnInPublic #DsawithKunal

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

    43:57 if its calling Arrays.tostring (list [of type student array]) means Arrays tostring method then why it needs its own class to string method

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

    that was a clean and clear video...loved to learn...thanks Kunal

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

    Its very nice playlist to watch for oops

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

    best videos for oops really appreciate the effort by you. keep posting the good content.

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

    Amazing lecture Kunal!! Had fun :)

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

    Oh man ..u made my sunday super productive !! I love to say this again nd again this Channel s the BEST and gonna see insane growth in super short span f time !!

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

    Great content Kunal Thanks!!

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

    Love You Kunal!😍

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

    46:00 can someone tell me why it's (Arrays.sort) calling inCompareTo function??

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

      Because the student[] has roll no and marks, so by specifying the arrays to sort based on the diff of marks using compareto method of Comparable interface, the Arrays will now sort without confusion. Hope this helps.

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

    Wonderful video. Learnt many things easily.

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

    best course on youtube😍

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

    Next Level Explanation. Thank you !!

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

    Question : What happens when " EKLAVYA " becomes your " GURU" ???
    Answer : " COMMUNITY CLASSROOM "

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

    One Of The Best PlayList in Java Oops , ❤️😘

  • @RahulKumar-pf8os
    @RahulKumar-pf8os 4 หลายเดือนก่อน

    Amazing Lecture

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

    You are simply awesome!

  • @ayush_24
    @ayush_24 8 หลายเดือนก่อน +7

    Most concepts in this video were not explained properly, the explanation lacked whys. And yeah I have been following the series from the beginning.

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

    Thank you so much Kunal

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

    Checked exception is not handled by compiler, all type of exceptions are handled in runtime, checked exception is just giving warning that this kind of exception may happen while runtime so the code will not compile and will give compilation error, so we need to write our exception handling code beforehand so that this kind of exception will not happen in runtime

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

    @KunalKushwaha apka koi paid course hai kya java par ? Loved your this playlist ....

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

    custom arraylist explanantion is very nice

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

    you are a stack of concepts

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

    You missed adding notes for this video OOP 6, the rest were all added. Please add the notes for this as well (OOP 6 | Generics, Custom ArrayList, Lambda Expressions, Exception Handling, Object Cloning) !

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

    Best Java playlist ever❤️

  • @KeshavKumar-cr9kx
    @KeshavKumar-cr9kx 3 ปีที่แล้ว

    really nice video, keep creating, lots of love

  • @cs-200-ok
    @cs-200-ok 2 ปีที่แล้ว +1

    before watching every video i just like it coz i know every tutorial is a masterpiece:)

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

    Was yet another amazing lecture I specifically liked the exception handling part cause I frankly was struggling with it bit recently.

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

      Just wish my college professor were as good as you

  • @mr.suryansh
    @mr.suryansh ปีที่แล้ว +1

    best series

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

    51:00 arr.forEach((item)->System.out.println(item*2));// don't understand how its work please help

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

    Great content! Looking forward for future videos.

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

    Thank u so much bro for this☝️🙏

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

    Nice Explaination!

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

    As Always a Best One!!!

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

    Appriciation Comment for your efforts

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

    Very much helpful course

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

    Done with this tutorial ,
    reach++

  • @adityaSharma-ib1il
    @adityaSharma-ib1il 2 ปีที่แล้ว

    This is best course bro

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

    very simple stuff , no problem , cool

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

    @ 1:09:30 we dont need to do "throws Exception" after psmv?

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

    Best Explanation

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

    Thanks Kunal

  • @DREAM-dg8sh
    @DREAM-dg8sh 2 ปีที่แล้ว +1

    kunal when are going to upload trees and graph videos. And thank you so much for teaching.

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

    I just wanna ask while doing the deep copy through the clone method what we did was first of all we created a shallow copy of it then we updated the non - primitive array by creating a new object of array and then assign it to the arr variable then again using the for loop we reassigned each element of the array at its correct position. But can't we just call the constructor method from inside the clone function? or maybe we can't do it as the constructor method doesn't have a return type. I just asked this because as we know that in the constructor we are creating the array each time. So we are allocating memory each time using the new keyword. I have one more alternative inside of the clone function why don't we just create another human object and initialize it with the constructor that takes human object as parameter. That way we can simply assign the reference of that object to that object through which we have called the clone function.

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

    Thank you Kunal :(

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

    Can you please make a vedio on "pointers in c++ from begginers to advance all topic" . I'm struggling with this topic... And your explanation is soo awesome

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

      Check mycodeschool playlist of pointers

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

    At 42:27 as you mentioned that guy is a topper still no matter what we don't know him and we know you hence proved marks doesn't matter but skills and personality definitely do.😃

  • @OMAsati-h1x
    @OMAsati-h1x 2 หลายเดือนก่อน

    great lecture

  • @chris-p-bacon1053
    @chris-p-bacon1053 3 ปีที่แล้ว +9

    Vhaiya please make a roadmap for CS students semester/year wise. That would be a game changer coz most of this types of videos are made for keeping CP at the centre.

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

      I will

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

      @@KunalKushwaha please include sections for 2nd/3rd year specifics too ,like how to proceed if u are in these years and kind of in a slump

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

    Great explanation

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

    love his tutorial

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

    LIKE ALWAYS AMAZING VIDEO !!

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

    Nice video!

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

    Great Work!

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

    @Kunal Kushwaha, You are doing great job. Can you please recommend me youtuber who teach Frontend regarding things.

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

    Excellent!

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

    Sir pls continue dsa series ❤

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

    Great video

  • @PradeepYadav-fg2yg
    @PradeepYadav-fg2yg 3 ปีที่แล้ว +3

    58:54 struggle is real..

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

    Greetings from Poland

  • @08_prernadhayfule40
    @08_prernadhayfule40 ปีที่แล้ว

    DSA(Java) with Kunal Kushwaha Zindagi ke saath bhi our Zindagi ke Baad bhi 😅

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

    sir please cover the hashmaps

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

      Pleae consider this request from our student's side Kunal Sir!!

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

    still watching consistently
    😀😀😀

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

    1:30:34 yha pe line number 27 twin.arr.length ki value 0 ho jaani chahiye humne line 26 mein twin.arr ko e new arr se assign kar diya hai

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

      I have the same doubt if you have understood now please explain it to me