Java Exceptions - Learn Exceptions in Java #43

  Рет қаралды 230,734

Alex Lee

Alex Lee

Күн бұрын

Пікірлер: 207
@alexlorenlee
@alexlorenlee Жыл бұрын
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 жыл бұрын
I teach computer science at a high school and refer my students to your videos all the time. You are truly "Exceptional". :)
@dimitarvelinov277
@dimitarvelinov277 3 жыл бұрын
@Steven, what you are doing as a teacher is great! It doesn't make you worth less, only on the contrary!
@stepbisimwa8141
@stepbisimwa8141 3 жыл бұрын
"exceptional" we see what you did there lol
@Jake1702
@Jake1702 5 жыл бұрын
Missed opportunity to call your program "Exceptional"
@tannerbarcelos6880
@tannerbarcelos6880 4 жыл бұрын
you will make a good engineer, my friend. Lmao
@devbosko
@devbosko 4 жыл бұрын
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
@GG-dx4id
@GG-dx4id 3 жыл бұрын
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 KZbin!
@dickomin
@dickomin 3 жыл бұрын
he does. Support him at www.patreon.com/alexlorenlee
@tschopam7298
@tschopam7298 5 жыл бұрын
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 жыл бұрын
Honestly, you are the best Java instructor ever. Thanks
@TreeloCosplay
@TreeloCosplay 4 жыл бұрын
"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!!!!
@dilby3246
@dilby3246 4 жыл бұрын
Thank you. This is on my final exam coming up, yet I swear we didn't go over this in class at all.
@edupazz
@edupazz 4 жыл бұрын
"I'll catch in the next video" First you gotta *try* it, then maybe *finally* you can do it, haha
@SkyeVintorez
@SkyeVintorez 4 жыл бұрын
Thats right lol
@a.hao97
@a.hao97 4 жыл бұрын
what about continue doing it :thinking:
@ClaireGrob
@ClaireGrob 4 жыл бұрын
lmao
@jenniferm2370
@jenniferm2370 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 жыл бұрын
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.
@ameerhamza4598
@ameerhamza4598 3 жыл бұрын
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:)
@shadowfront21
@shadowfront21 3 жыл бұрын
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.
@justinfeagans6171
@justinfeagans6171 4 жыл бұрын
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.
@partysticks4422
@partysticks4422 2 күн бұрын
omg every programmer knows how hard spelling is
@bellermuma5463
@bellermuma5463 3 ай бұрын
It's good that there is an expert who understands a complete beginner and explains how a beginner can better understand ❤
@shammahcharles4941
@shammahcharles4941 4 жыл бұрын
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
@josephwehbe5124
@josephwehbe5124 5 жыл бұрын
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!!!!
@R247Success
@R247Success Жыл бұрын
I love how your videos are so short yet full of good information. Thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@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.
@xy1408
@xy1408 4 жыл бұрын
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!
@Reids0me
@Reids0me 4 жыл бұрын
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!
@Kjackdev
@Kjackdev 3 жыл бұрын
You are better instructor than any professor I've ever had, thanks for the videos.
@satoshi_21
@satoshi_21 4 жыл бұрын
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
@johnathanheath6480
@johnathanheath6480 4 жыл бұрын
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
@michaelharris9331
@michaelharris9331 4 жыл бұрын
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 :)
@リンゴ酢-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.
@krisroach9139
@krisroach9139 3 жыл бұрын
Alex lee is my semester savior!! We love you brooo!
@kngt9655
@kngt9655 Жыл бұрын
Bro you have to be one of the best explainers on yt
@aayansh3058
@aayansh3058 2 жыл бұрын
Thank you. You are the one who taught me how to read and find exception .. thanks alot
@VijayVarshiniNarayanan
@VijayVarshiniNarayanan 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.
@allthings4744
@allthings4744 3 жыл бұрын
You diserve 1m subscribers🙏
@emalr.dawlatzai3083
@emalr.dawlatzai3083 4 жыл бұрын
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
@gogajleart702
@gogajleart702 5 жыл бұрын
Hey Alex! You are the best man, keep going. This is the best channel out there, honestly!!! God Bless You!!!
@abMovieCutts
@abMovieCutts 2 жыл бұрын
were you gotten your computer science degree in Ethiopia?
@xc5838
@xc5838 4 жыл бұрын
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 жыл бұрын
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.
@nikitajanbandhu1976
@nikitajanbandhu1976 3 жыл бұрын
Thanks Alex.. You make java appear so easy... You are a saviour man.. 😊😌
@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!
@humanminus84
@humanminus84 3 жыл бұрын
hay Alex I always come here to get a quick refresher ....thanks man !!!
@farzana9291
@farzana9291 4 жыл бұрын
i love this guy. he has a degree and a personality.
@bharathdynamo9351
@bharathdynamo9351 2 жыл бұрын
Bro, the way you explain things is awesome so i am here all the time.🙂
@bryanguim2000
@bryanguim2000 3 жыл бұрын
Thanks again. It's really helpful to all students like me who are amateur/beginner
@CVB-cp6oz
@CVB-cp6oz 4 жыл бұрын
Would be much appreciated if you made a video about checked and unchecked exceptions
@carlosjunior4446
@carlosjunior4446 5 жыл бұрын
Can you please make a video about enums? Great vids btw!
@rahulkaura135
@rahulkaura135 5 жыл бұрын
Yeah!
@simmonszhu
@simmonszhu 2 жыл бұрын
Hey Alex just want you to know your teaching help me understand java very well and easy :)
@Bandit-is8zi
@Bandit-is8zi Жыл бұрын
This is much more friendly than error in c++
@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.
@cocochanel3193
@cocochanel3193 5 жыл бұрын
Thank you for making java simple.❤🙏.. Im still binging on your videos..
@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 .....
@nutanpanpalia4170
@nutanpanpalia4170 2 жыл бұрын
Thankyou so much for all the amazing videos you make. They make java easier
@luigi8568
@luigi8568 2 жыл бұрын
Thank you for posting these kind of videos ❤️
@ditook-codingandtech4762
@ditook-codingandtech4762 4 жыл бұрын
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 ?
@麦天正
@麦天正 4 жыл бұрын
Hi, Alex, Your video Helps me a lot with reviewing java basic. Thank you, I wish you could update more java intermediate level tutorial!
@peidonghe2275
@peidonghe2275 4 жыл бұрын
Please explain deeper in the future, looking for more of your videos
@ka2165
@ka2165 4 жыл бұрын
Alex, you are the best teacher. Thank you so much!
@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...
@蹦太君-o4d
@蹦太君-o4d 3 жыл бұрын
thank you so much!! I learn java basic from your tutorial. it helps me a lot.
@navrajsharma8680
@navrajsharma8680 4 жыл бұрын
Thanks it was really helpful. Can you please make a video on how dynamic binding and polymorphism is demonstrated in the code?
@eminyagz4822
@eminyagz4822 5 жыл бұрын
Ending music: Kazura - My way
@sravanthiranga1414
@sravanthiranga1414 Жыл бұрын
Clear explanation useful video thank you @Alex
@SumukaG
@SumukaG 2 жыл бұрын
Most replayed moment: 5:53 xD Nobody came here to learn exceptions :P Jk. Alex is a brilliant teacher !
@rahulkaura135
@rahulkaura135 5 жыл бұрын
Good Job!
@anonymoustravelvidz
@anonymoustravelvidz 4 жыл бұрын
I love your keyboard, where can i buy one?
@firepluto6128
@firepluto6128 3 жыл бұрын
Omg what a explanation superb
@emuel5844
@emuel5844 4 жыл бұрын
Very well explained!
@michelleamaya6734
@michelleamaya6734 3 жыл бұрын
Great video! Got anything on User-Defined Exceptions?
@kashvibhatia9910
@kashvibhatia9910 3 жыл бұрын
Can you please make a video about sorting. Your explanations are the only ones I understand.
@abdeselamselami4532
@abdeselamselami4532 5 жыл бұрын
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.
@DonPierreHalfaway
@DonPierreHalfaway 3 жыл бұрын
Good explanation and how to debug the exception
@cherryb9128
@cherryb9128 2 жыл бұрын
thank you for explaining this so well :)
@ysamkabir
@ysamkabir 5 жыл бұрын
I love your keyboard, I wanna buy-it too, you mind sharing where you bought it from. Thanks
@Coldpi3ce
@Coldpi3ce 5 жыл бұрын
Maybe a little late lol, but its at the bottom of his video descriptions. It's got a hefty price tag
@BabaBabaji
@BabaBabaji 5 жыл бұрын
can you make videos on - immutable class Custom exception Singleton class Comparable and comparator
@b5mrjacob373
@b5mrjacob373 4 жыл бұрын
you're amazing keep it up man thanks
@tanajjahamed8765
@tanajjahamed8765 4 жыл бұрын
why do you use that keyboard instead of using the mac keyboard
@storieswithvaluesforkids654
@storieswithvaluesforkids654 2 жыл бұрын
you are the best Java instructor ever!!!
@user-hu4yp4ml3c
@user-hu4yp4ml3c 4 жыл бұрын
As. ALWAYS short vids and super beneficial
@latedeveloper7836
@latedeveloper7836 3 жыл бұрын
9:15 Null pointer exception explained
@rin-zx4on
@rin-zx4on 3 жыл бұрын
THANK UU SO MUCHH IT HELPS ME A LOTT
@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
@steven5712
@steven5712 4 жыл бұрын
You are awesome, Alex.
@Mountain_Drew
@Mountain_Drew 2 жыл бұрын
Monkeys are the most despicable animal on this planet. They're like toddlers, except you can't rationalize with them because you can't communicate with them. They're also incredibly stubborn, just like small dogs. Monkeys are the worst.
@wardamtn
@wardamtn 5 жыл бұрын
you're the best Alex :)
@robashadur3901
@robashadur3901 5 жыл бұрын
Please make video with nested exception
@c.allmebro
@c.allmebro 4 жыл бұрын
Ur The Best Love your vids man !
@muhannadrawajfeh
@muhannadrawajfeh 4 жыл бұрын
You make me laugh and learn. Love you
@LKonstantina915
@LKonstantina915 3 жыл бұрын
Absolutely 100% wonderful video but dang I need that old looking keyboard XD
@YashRajGoel
@YashRajGoel 4 жыл бұрын
Great work!!
@hashirraw5249
@hashirraw5249 2 жыл бұрын
You deserve everything you achieve from making videos.
@JP-xm3qf
@JP-xm3qf 4 жыл бұрын
You are my Hero, thank you!
@katehowell4776
@katehowell4776 4 жыл бұрын
You are the best! Thank you!!
@michaelsd28
@michaelsd28 4 жыл бұрын
Great tutorials!!!
@carlosguevara6382
@carlosguevara6382 3 жыл бұрын
You are good! Thank you!
@annaprolisok6149
@annaprolisok6149 3 жыл бұрын
can you explain the difference between Exception and RuntimeException
@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?
@Brandli
@Brandli 3 жыл бұрын
where can I get that beautiful keyboard of yours?
@asifsahadh2883
@asifsahadh2883 2 жыл бұрын
Thank you so much!
@theconfusedsoul2054
@theconfusedsoul2054 3 жыл бұрын
You are a hero🙌
@simonhollad5511
@simonhollad5511 4 жыл бұрын
Where did you get your CS degree? I mean in my programming class, we took 3 weeks of exceptions in the first year.
@rafiqnoori5606
@rafiqnoori5606 4 жыл бұрын
So why are you here then? LOL..
@dansmith9859
@dansmith9859 3 жыл бұрын
I'll be asking my school to send you my tuition. ;)
@yummypencil3587
@yummypencil3587 4 жыл бұрын
pretty cool keyboard u got!
Java Null Keyword - How To Use Null in Java #44
4:59
Alex Lee
Рет қаралды 28 М.
Exception Handling in Java Tutorial
13:20
Coding with John
Рет қаралды 439 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Abstract Class In Java Tutorial #79
8:55
Alex Lee
Рет қаралды 552 М.
Try Catch Java Tutorial #46
11:05
Alex Lee
Рет қаралды 221 М.
Return Statement in Java #27
14:38
Alex Lee
Рет қаралды 285 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 577 М.
Java Custom Exceptions Tutorial - It's Way Easier Than You Think
14:29
Coding with John
Рет қаралды 173 М.
Inheritance in Java Tutorial #86
10:34
Alex Lee
Рет қаралды 396 М.
Better Java Streams with Gatherers - JEP Cafe #23
1:13:32
Abstraction Can Make Your Code Worse
5:13
CodeAesthetic
Рет қаралды 683 М.
Java generics ❓
22:04
Bro Code
Рет қаралды 122 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН