Java Exceptions - Learn Exceptions in Java #43

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

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

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

    If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h

  • @stevenfinston8138
    @stevenfinston8138 3 года назад +239

    I teach computer science at a high school and refer my students to your videos all the time. You are truly "Exceptional". :)

    • @dimitarvelinov277
      @dimitarvelinov277 2 года назад +2

      @Steven, what you are doing as a teacher is great! It doesn't make you worth less, only on the contrary!

    • @stepbisimwa8141
      @stepbisimwa8141 2 года назад +11

      "exceptional" we see what you did there lol

  • @GG-dx4id
    @GG-dx4id 3 года назад +33

    Absolute hero. Since discovering this channel a couple weeks ago, I no longer waste time listening to my Intermediate Java prof's online "lectures," and just note which Alex Lee videos I need to look up.
    He should make a Patreon for people who can't quite afford the full course, but want to chip in for all the help he shares on RUclips!

    • @dickomin
      @dickomin 3 года назад +2

      he does. Support him at www.patreon.com/alexlorenlee

  • @Jake1702
    @Jake1702 5 лет назад +308

    Missed opportunity to call your program "Exceptional"

    • @tannerbarcelos6880
      @tannerbarcelos6880 4 года назад +6

      you will make a good engineer, my friend. Lmao

    • @devbosko
      @devbosko 3 года назад +1

      that moment when you name your program or even your methods/variables something funny and then have to think about what it was supposed to do.. so yeah exceptional :D

  • @tschopam7298
    @tschopam7298 4 года назад +117

    Alex, you are such a wonderful person. You are so honest. You did not learn these exceptions at college and trying to teach us. Great lesson.Thanks

  • @GiedrysRokas
    @GiedrysRokas 4 года назад +32

    Honestly, you are the best Java instructor ever. Thanks

  • @bellermuma5463
    @bellermuma5463 9 дней назад

    It's good that there is an expert who understands a complete beginner and explains how a beginner can better understand ❤

  • @dilby3246
    @dilby3246 4 года назад +16

    Thank you. This is on my final exam coming up, yet I swear we didn't go over this in class at all.

  • @jenniferm2370
    @jenniferm2370 4 года назад +4

    Usually if I see the dreaded red text, I get frustrated. Your video reminded me to just read what the program is saying, and I can figure it out. Love your videos!!! Thank you :)

  • @unknown-xr3lq
    @unknown-xr3lq 4 года назад +4

    i really like how he always mention how teachers makes things hard for us sometimes, well you definitely made some things easy for me so thank you.

  • @justinfeagans6171
    @justinfeagans6171 3 года назад +3

    Thanks Alex, I am in my third semester for my programming degree and I dont have the best professors. Your videos really help clear up alot of the things we miss in the classroom.

  • @shadowfront21
    @shadowfront21 3 года назад +5

    Once again, well done. Incredibly grateful that you take the time to actually explain things at more than just a surface level. Though many things don't require more than simply the knowledge that "This does this", it definitely helps some of us to grasp the concept when we can understand the theory.

  • @edupazz
    @edupazz 4 года назад +82

    "I'll catch in the next video"
    First you gotta *try* it, then maybe *finally* you can do it, haha

    • @SkyeVintorez
      @SkyeVintorez 4 года назад +1

      Thats right lol

    • @a.hao97
      @a.hao97 4 года назад

      what about continue doing it :thinking:

    • @ClaireGrob
      @ClaireGrob 4 года назад +1

      lmao

  • @ameerhamza4598
    @ameerhamza4598 3 года назад +1

    Alex whenever I watched your videos to learn stuff, at the very start of the videos I always got a boast of motivation from your. Which keeps me away from all negativity and helps me learn better. Thank you:)

  • @josephwehbe5124
    @josephwehbe5124 4 года назад +3

    Dear Friend I am an IT student and I am really facing the same problems at my university about getting the programming ideas and understanding them.I really appreciate your help, it was really useful to me and helped me a lot, so thank you and keep it up man!!!!

  • @TreeloCosplay
    @TreeloCosplay 4 года назад +22

    "You might have heard of the word exception and wanting to stop programming right there because teachers do a horrible job at explaining..."
    Oh boy, you got me right there. I cracked up laughing so bad at this because it IS SO TRUE!!!!

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

    I love how your videos are so short yet full of good information. Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @shammahcharles4941
    @shammahcharles4941 3 года назад +5

    OMG BROOOO!!!!!!!!!!!!!! TEACHERS ARE SO BAD AT TEACHING THIS IM SO HAPPY I FOUND THIS!! I'M CRYING IN JOY RIGHT NOW MAN!! THIS IS GREAT

  • @eljean1312
    @eljean1312 2 года назад

    I have an interview on wednesday and I can say that this viideo helped alot. Thank you Alex and continue making this kind of videos.

  • @Kjackdev
    @Kjackdev 3 года назад

    You are better instructor than any professor I've ever had, thanks for the videos.

  • @リンゴ酢-b8g
    @リンゴ酢-b8g 2 года назад

    All objects within the Java exception class hierarchy extend from the Throwable superclass. Only instances of Throwable (or an inherited subclass) are indirectly thrown by the Java Virtual Machine (JVM), or can be directly thrown via a throw statement.

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

    Thank you. You are the one who taught me how to read and find exception .. thanks alot

  • @johnathanheath6480
    @johnathanheath6480 3 года назад

    I'm a resent graduate of Full Sail University As a Game Designer . I am Currently Cross Training as A Software Developer . My Knowledge of C# Coding Has helped me pick Java Pretty Quick . Youre Videos Go into more Detail helping me to understand. what I am learning with Revature. Thank you for you video they have been a great help. over the course of this week

  • @VijayVarshiniNarayanan
    @VijayVarshiniNarayanan 4 года назад +4

    They never thought us too. All these exceptions and error handling portions were left in the air to be explored by us. That sucks.

  • @emalr.dawlatzai3083
    @emalr.dawlatzai3083 4 года назад +3

    Nice videos. You did explained Exceptions very well, but it was also helpful if you could do a videos on how we should handle the Exceptions. So that we can still run the remaining of our codes, even after an Exception.Thank you

  • @Reids0me
    @Reids0me 4 года назад +1

    When you were talking about teachers doing a poor job at explaining exceptions, I immediately thought "wow, so relatable!" Then I saw your NC State shirt and now I understand why! Wolf pack!

  • @krisroach9139
    @krisroach9139 2 года назад

    Alex lee is my semester savior!! We love you brooo!

  • @xy1408
    @xy1408 4 года назад +1

    Love your video, Alex. I'm college student too and sometimes the profs are so bad in explaining and honestly your videos are the BEST! I appreciate it dearly!

  • @CVB-cp6oz
    @CVB-cp6oz 4 года назад +1

    Would be much appreciated if you made a video about checked and unchecked exceptions

  • @bryanguim2000
    @bryanguim2000 3 года назад

    Thanks again. It's really helpful to all students like me who are amateur/beginner

  • @satoshi_21
    @satoshi_21 4 года назад +2

    Hey Alex, I am a German Student and I have to say, you are able to explain much better than my prof. in my nativ language ;D

  • @nikitajanbandhu1976
    @nikitajanbandhu1976 3 года назад

    Thanks Alex.. You make java appear so easy... You are a saviour man.. 😊😌

  • @dawitpetros7062
    @dawitpetros7062 3 года назад

    You are the best teacher in Java Your videos really help me in school .... but i can't find your video for throw and throws in Exception handling .....

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

    Thank you for posting these kind of videos ❤️

  • @robertlaursoo3125
    @robertlaursoo3125 4 года назад

    Hi, Alex and everyone who reads this and may benefit from it. Even though it is good to use for explanation it is not good coding practice to ever catch IndexOutOfBoundsException (unchecked exception), because this is probably programmers mistake if something like this ever happens and it should be fixed (with simple if condition) instead of try-catch :) Same goes with deviding with zero etc.

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

    Bro you have to be one of the best explainers on yt

  • @simmonszhu
    @simmonszhu 2 года назад

    Hey Alex just want you to know your teaching help me understand java very well and easy :)

  • @farzana9291
    @farzana9291 4 года назад

    i love this guy. he has a degree and a personality.

  • @peidonghe2275
    @peidonghe2275 3 года назад +1

    Please explain deeper in the future, looking for more of your videos

  • @humanminus84
    @humanminus84 3 года назад

    hay Alex I always come here to get a quick refresher ....thanks man !!!

  • @cocochanel3193
    @cocochanel3193 4 года назад +1

    Thank you for making java simple.❤🙏.. Im still binging on your videos..

  • @蹦太君-o4d
    @蹦太君-o4d 3 года назад

    thank you so much!! I learn java basic from your tutorial. it helps me a lot.

  • @schajuli1991
    @schajuli1991 3 года назад

    I wish such kind of tutorials were available when I was in school some years ago - it just would have been so much easier. Kids today are lucky on this topic!

  • @allthings4744
    @allthings4744 3 года назад +1

    You diserve 1m subscribers🙏

  • @nutanpanpalia4170
    @nutanpanpalia4170 2 года назад

    Thankyou so much for all the amazing videos you make. They make java easier

  • @navrajsharma8680
    @navrajsharma8680 4 года назад +1

    Thanks it was really helpful.
    Can you please make a video on how dynamic binding and polymorphism is demonstrated in the code?

  • @Bandit-is8zi
    @Bandit-is8zi 10 месяцев назад

    This is much more friendly than error in c++

  • @carlosjunior4446
    @carlosjunior4446 5 лет назад +6

    Can you please make a video about enums? Great vids btw!

  • @funkmaster322
    @funkmaster322 2 года назад

    Would have been nice to have a thing or two about exception handling. This video is more about how to read exceptions...

  • @bharathdynamo9351
    @bharathdynamo9351 2 года назад

    Bro, the way you explain things is awesome so i am here all the time.🙂

  • @eminyagz4822
    @eminyagz4822 4 года назад +4

    Ending music: Kazura - My way

  • @麦天正
    @麦天正 4 года назад +1

    Hi, Alex, Your video Helps me a lot with reviewing java basic. Thank you, I wish you could update more java intermediate level tutorial!

  • @ditook-codingandtech4762
    @ditook-codingandtech4762 4 года назад +1

    I liked your videos so i subscribed :) Can you tell me which video editor you use ? How do you manage to bring that notification bar at bottom ?

  • @DonPierreHalfaway
    @DonPierreHalfaway 2 года назад

    Good explanation and how to debug the exception

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

    Clear explanation useful video thank you @Alex

  • @SkyeVintorez
    @SkyeVintorez 4 года назад

    Hey Alex, please make a Video about the diffirence of EXCEPTIONS and ERROR
    And what are the under of it, and how to use Try-Catch to get rid of that exception and errors while running a program without being terminated, i would love to watch that, coz im having a trouble with Try-Catch and Throw Keywords
    Thank you

  • @xc5838
    @xc5838 4 года назад +1

    Great video thank you so much for posting this! I think there is a little mistake at @3:10 when you said Java can't turn the code into machine code. Java did turn the code into Java byte code(machine code) because you were able to compile the source code. That particular exceptions was thrown during runtime not compile time.

    • @jscorpio1987
      @jscorpio1987 4 года назад +1

      I think he’s just trying to explain it in an understandable way for beginners. Once you begin to grasp what an exception is in the first place, then it’ll be easier to start getting into compilation vs runtime errors. But to a beginner, it makes no difference. All they need to know at this point is that something went wrong.

  • @BabaBabaji
    @BabaBabaji 4 года назад +1

    can you make videos on -
    immutable class
    Custom exception
    Singleton class
    Comparable and comparator

  • @kashvibhatia9910
    @kashvibhatia9910 3 года назад

    Can you please make a video about sorting. Your explanations are the only ones I understand.

  • @michaelharris9331
    @michaelharris9331 4 года назад +1

    Thank you man. Seriously appreciate all the quality content. You keep me motivated and grinding learning this content when it has been tough learning this new language. YOU ARE MY GO-TO FOR ALL OF MY JAVA BENDERS hahahah.
    Thanks :)

  • @abdeselamselami4532
    @abdeselamselami4532 4 года назад +1

    Thanks a lot Alex, and for the 3 dislikers would you tell us what's wrong with this tutorial, please consider a dislike must explained with a comment to help us to improve ourselves, thanks.

  • @user-hu4yp4ml3c
    @user-hu4yp4ml3c 3 года назад

    As. ALWAYS short vids and super beneficial

  • @firepluto6128
    @firepluto6128 3 года назад

    Omg what a explanation superb

  • @anonymoustravelvidz
    @anonymoustravelvidz 3 года назад +1

    I love your keyboard, where can i buy one?

  • @robashadur3901
    @robashadur3901 4 года назад +1

    Please make video with nested exception

  • @michelleamaya6734
    @michelleamaya6734 3 года назад

    Great video! Got anything on User-Defined Exceptions?

  • @rahulkaura135
    @rahulkaura135 5 лет назад +6

    Good Job!

  • @ka2165
    @ka2165 4 года назад +1

    Alex, you are the best teacher. Thank you so much!

  • @b5mrjacob373
    @b5mrjacob373 3 года назад

    you're amazing
    keep it up man
    thanks

  • @ysamkabir9285
    @ysamkabir9285 4 года назад +4

    I love your keyboard, I wanna buy-it too, you mind sharing where you bought it from. Thanks

    • @Coldpi3ce
      @Coldpi3ce 4 года назад

      Maybe a little late lol, but its at the bottom of his video descriptions. It's got a hefty price tag

  • @tejaxed
    @tejaxed 2 года назад

    hey alex I got a question, so in prev video on arraylists you didn't use the "" part with arraylist but it still stored strings so why did you use this in this video, any specific reason?

  • @cherryb9128
    @cherryb9128 2 года назад

    thank you for explaining this so well :)

  • @rin-zx4on
    @rin-zx4on 3 года назад

    THANK UU SO MUCHH IT HELPS ME A LOTT

  • @ericamuhammad5082
    @ericamuhammad5082 2 года назад

    Thank you!

  • @LKonstantina915
    @LKonstantina915 3 года назад +1

    Absolutely 100% wonderful video but dang I need that old looking keyboard XD

  • @asifsahadh2883
    @asifsahadh2883 2 года назад

    Thank you so much!

  • @ma8969
    @ma8969 2 года назад

    Thank you

  • @YashRajGoel
    @YashRajGoel 3 года назад

    Great work!!

  • @carlosguevara6382
    @carlosguevara6382 3 года назад

    You are good! Thank you!

  • @annaprolisok6149
    @annaprolisok6149 3 года назад

    can you explain the difference between Exception and RuntimeException

  • @SumukaG
    @SumukaG 2 года назад

    Most replayed moment: 5:53 xD Nobody came here to learn exceptions :P Jk. Alex is a brilliant teacher !

  • @emuel5844
    @emuel5844 4 года назад +1

    Very well explained!

  • @gogajleart702
    @gogajleart702 4 года назад +2

    Hey Alex! You are the best man, keep going. This is the best channel out there, honestly!!! God Bless You!!!

  • @simonhollad5511
    @simonhollad5511 4 года назад +1

    Where did you get your CS degree? I mean in my programming class, we took 3 weeks of exceptions in the first year.

  • @evanperaza7782
    @evanperaza7782 3 года назад

    if im learning Java on my own, what sources (books, free coding sites) would you recommed?

  • @soggy77
    @soggy77 3 года назад

    Where did you get your mechanical keyboard laptop extension from?

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

    amazing vid ! thx

  • @abdulkarimjusu8282
    @abdulkarimjusu8282 2 года назад

    Perfectly Explained, thanks. What's the tittle of the song playing in the background, at the end of the video? I love it.

  • @Brandli
    @Brandli 3 года назад

    where can I get that beautiful keyboard of yours?

  • @marcronaldsuasola3054
    @marcronaldsuasola3054 3 года назад

    Please make throw and throws keywords examplesplease, thankyouu.

  • @JP-xm3qf
    @JP-xm3qf 3 года назад

    You are my Hero, thank you!

  • @gulnarahuseynova1718
    @gulnarahuseynova1718 2 года назад

    Thank you)

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

    Great! thx!

  • @abemelekdaniel8913
    @abemelekdaniel8913 2 года назад +1

    were you gotten your computer science degree in Ethiopia?

  • @zeriona10
    @zeriona10 3 года назад

    Hey which platform are you coding on ? I code on Eclipse and I absolutely hate it

  • @tanajjahamed8765
    @tanajjahamed8765 4 года назад +1

    why do you use that keyboard instead of using the mac keyboard

  • @jagdishautomation2960
    @jagdishautomation2960 2 года назад

    Brother plz teach us what is user defined exception with program help my assignment....

  • @michaelsd28
    @michaelsd28 3 года назад

    Great tutorials!!!

  • @lunyjockkai7388
    @lunyjockkai7388 2 года назад

    Hello ALEX, i really really, appreciate you for your career in java indeed.
    I select you now onward as you are my best java programmer
    And i want you to do me two programmer coding
    How to create java coding of Inventor Management System
    and i need it next week if have got time please do it to me
    i will you another one tomorrow

  • @hashirraw5249
    @hashirraw5249 2 года назад

    You deserve everything you achieve from making videos.