Java Generics Explained

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

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

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

    The sound of you typing is so blissful

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

      I actually want to know what keyboard you used. Please tell us.

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

      @@jingusbrule797 Ducky One with White Switches

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

    We need more videos from you! You explain with all the logic behind the scenes, like nobody else. Really amazing!

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +2

      Thank you :) I am working on more videos right now, with similar explanations. Are there any topics in particular that you'd like to see?

    • @AdityaGupta-zv4ib
      @AdityaGupta-zv4ib 2 ปีที่แล้ว

      @@jack.hodkinson It would be great to see the implementation of some data structures and algorithms in java and maybe also on Wrapper Classes. Great Video btw, keep up the good work👍

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

    Honestly, one of the best explanations of generics I've seen so far. This explanation even rivals the explanation by the alien king himself Telisko.

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

    Man you should never stop posting! Amazing explanation!

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

    great video! would love to see more of these.

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

    Hands down to the best Java Generics video ever. Thank you very much!

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

    Heck! There's only one video on this channel?? I wanted more. If you want the youtube algorithm to help you then you gotta create more contents like this on regular basis and the subscribers will follow. Thanks for uploading

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

    I love your accent. Just to get in the spirit of things i’m going to make a cup of tea everytime i sit down to watch your videos. I don’t have crumpets but i suppose biscuits will have to do

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

    I'm sure I just don't know where to look, but I could not find anything about generic type parameters on method calls. Thanks so much man this really helped me out!

  • @8BitZ0mbie
    @8BitZ0mbie ปีที่แล้ว

    So many different examples. Thanks for the great video

  • @4zmc
    @4zmc 3 ปีที่แล้ว +5

    You explained this in such a simple and easy to understand way. It felt like Java Generics was just there to make java more difficult, but now it's obvious how generics actually makes coding easier and cleaner. Very high quality video as well. Thanks!

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

    More videos on core java please! You're one of the best teachers I've seen so far if not the best. Whats that IDE you use? This looks so clear, fantastic.

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

    Very concise and easy to follow. Helped me brush up on stuff I didn't delve into enough last semester.

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

    You explain in a clearly and concisely. Thank you 🙏

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

    Beautiful work. Asmr keyboard strokes

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

    I hope you get to 5K subscribers soon. Don't give up.

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

    Great explaination and pace. I hope to see more. Thank you very much

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

    You did good man! looking forward for more videos.

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

    This video was very useful! Thank you for making it.

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

    Amazing tutorial, thank you!

  • @65opicw
    @65opicw 3 ปีที่แล้ว

    I don't understand why it's so poorly explained at school. This helped me very much.

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

    Very nice explanation. Definitely do more topics in the future

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

    Great Video, Hope to see more

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

    Awesome video :) will you do more of such videos?

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

    Nicely explained thank you very much

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

    this was really helpful, thanks!

    • @jack.hodkinson
      @jack.hodkinson  2 ปีที่แล้ว +1

      Glad you found it useful, my pleasure!

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

    Great video! will you make videos about oop, inheritance, polymorphism, encapsulation, and abstraction?

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +3

      I've got so many videos I want to make :) I will cover those topics though

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

    Thanks Jack!

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

    thanks man, this helped me out today

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

    Nice video!
    What plans do you have for the next videos?

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

    Subscribed! Thanks and keep posting more videos.

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

    everything about this video is perfect 😍 thank you so much!

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

    Nice concise video. Thanks.

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

    Thanks for that

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

    I understand alot of the concept however my school is not teaching me anything.... what website would you suggest I go to strengthen my skills?

  • @TienNguyen-wb5ik
    @TienNguyen-wb5ik 3 ปีที่แล้ว

    Your explaination so clear. Subscribed! Thank you so much!

  • @SG-rb4bz
    @SG-rb4bz 3 ปีที่แล้ว

    Awesome video! Thank you!

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

    Your explanation is awesome and easy to understand. I subscribed to you and hope you grow more.

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว

      Thank you! I really appreciate it

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

      @@jack.hodkinson While you are here, can I ask something? Why do you put two returns in the method reverse in your video? --> private static List reverse(List original List). I thought the List is enough as the return statement? I made similar question in reddit since I wasn't sure if that reddit and this channel are managed by the same person. Thanks

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +2

      @@cinlung List is the return type. The before that tells Java that the method has a generic type parameter.
      This wouldn't compile:
      private static List reverse(List originalList)
      If you don't include the first , Java wouldn't know what the T in List refers to

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

    What plugins are you using to get your IDE to center like this, also for the error count on the top right?

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

      Hearts but doesn't reply, that's cold.

    • @jack.hodkinson
      @jack.hodkinson  10 หลายเดือนก่อน

      This is IntelliJ in presentation mode with the Gradianto theme
      www.jetbrains.com/guide/java/tutorials/presenting/presentation-mode/
      plugins.jetbrains.com/plugin/12334-gradianto

  • @Fnaf-vh9cs
    @Fnaf-vh9cs 3 ปีที่แล้ว +2

    subscribed so we push you to do more videos. "expectations"

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

    nice...and what model is your keyboard...sounds so nice

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

    Well done.

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

    Good stuff. Up with this kind of thing.

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

    you should have make an example on when to use super key word with generics

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

    what a great video! keep it up.

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

    very well explained, thank you! that helped me a lot figuring out the missing pieces of my very own generics-puzzle :-)

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

    hey man, what keyboard do you have, and what switches?

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +3

      The keyboard in this video is a Ducky One with white switches

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

    Waiting for more videos🎥 ❤👌

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

    Nice and helpful video!

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

    what IDE are you using?

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +3

      This is IntelliJ in presentation mode with the Gradianto theme

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

    Still waiting for the new videos...🙏

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

    Great explanation :clap

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

    Great video!

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

    You should make more videos on Java 😀

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

    Would be able to explain the whole concept of generics which might be the genre of a FAANG interview?

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +2

      I think this is a topic unlikely to be covered in a FAANG interview. More likely are questions on data structures and algorithms. I recommend checking out Clement who does great videos about FAANG interviews: th-cam.com/channels/aO6VoaYJv4kS-TQO_M-N_g.html
      Also LeetCode: leetcode.com/

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

      @@jack.hodkinson thanks a lot for guidance..😊

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

    Awesome video..

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

    The background noise is quite distracting. I strongly recommend investing in a dynamic USB microphone.

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว

      Thanks for the feedback - by background noise do you mean the sound of typing, or something else?

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

      @@jack.hodkinson No, the typing is music to my ears. I mean the constant humming and buzzing that is often audible in the background while you're talking. This is especially annoying with headphones. I even heard a car once :)
      Dynamic microphones (such as the Samsung Q2U, which I currently use) only record the voice and filter out most of the background noise.

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว

      Thanks for clarifying, that’s really helpful. The typing is recorded separately so I was wondering whether to keep it in or not. I like it, I think it adds something.
      I agree, I need to invest in a better microphone. I’m early on in this journey, hopefully soon I can justify purchasing one. I've just checked out your voice overs, the audio quality is really impressive. I'd love to get to that point myself.

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

    Yes

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

    I subscribed because this was a nice and concise video, but oh man that clickity clackity keyboard noise was going to drive me up a wall.

    • @jack.hodkinson
      @jack.hodkinson  2 ปีที่แล้ว

      Thanks for the feedback! I’m working on improving the production value

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

    Finally understood this shit :D

  • @kamalhm-dev
    @kamalhm-dev 3 ปีที่แล้ว +1

    Subscribed! I like your style of teaching, please do check and unchecked exception

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

    Just type "sout" and press Tab or Enter and you don't need to type "System.out.println()" all the time

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว +1

      Thank you :) I use loggers instead of System.out in day to day life so I didn’t know that

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

      @@jack.hodkinson Me too :) Still very handy. By the way here is an extra one: Typing "psmv" gives you a "public static void main" ;-)

    • @jack.hodkinson
      @jack.hodkinson  3 ปีที่แล้ว

      @@CorDharel That one I knew!

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

    while(true)
    System.out.println("Thank you");