☕Want to master Java? Get my complete Java course: bit.ly/42mQlXE
@matthew110924 жыл бұрын
Simple and easy to understand, love the videos
@KeepOnCoding
4 жыл бұрын
Thank you!
@drbg11
3 жыл бұрын
@@moisesantonio2632 spammers
@MultiAlpha114 жыл бұрын
Hey Sam I just discovered your channel a couple days ago and think it’s just fantastic. Really easy to follow, and one can tell you know exactly what you’re talking about. Makes me hate my school just a little less for forcing us cybersecurity majors to learn Java.
@KeepOnCoding
4 жыл бұрын
Java for cybersecurity seems a bit strange. Glad you’re enjoying the content though!
@andrethomas44554 жыл бұрын
You need to make more videos. You're a gifted teacher.
@study_in_this_cornerАй бұрын
Great tutorial. I come back to your java content when I am stuck in exercises. thank you.
@DonPierreHalfaway2 жыл бұрын
First off and foremost... I enjoy your videos. Good way to use your spare time. Microphone and lighting is awesome by the way. Good job
@lanchi83613 жыл бұрын
Major thanks for your video. You're one of the few programming instructors who explains it in a way that beginners like me can understand.
@Youssef-pd2td4 жыл бұрын
Awesome video! I didn't even know the finally keyword until today. Thank you!
@kalashacharya98213 жыл бұрын
Love the way you keep the things simple. Thank you.
@alessandrobeato92823 жыл бұрын
that's the first video i saw in your channel and it's really good, just saw 3 others video of yours. The explanations are really easy to understand, keep up the great work :)
@invincibleassasin97143 жыл бұрын
Hey man Shout out to your videos. They are actually helpful. Also love your setting. Respect.
@asedmohamadrezaamini65203 жыл бұрын
you are truly a good teacher
@ricardoestrella953 жыл бұрын
You don't have enough likes or views for this video for what you deserve; this solved so many doubts I had... Definitely awesome. You got a new subscriber. Keep it going that way!
@KeepOnCoding
3 жыл бұрын
🙌🏼
@bf2wzrd4 жыл бұрын
Exception - An error that occurs in a program during nighttime.
@paulodacosta1379 Жыл бұрын
I wish you were my Java Programming Professor. You explain everything so well. Thank you for sharing your knowledge :)
@bissallahekele53203 жыл бұрын
Effortless delivery, keep on keeping on mehn. You're gifted.
@jpetris363 жыл бұрын
You never mentioned the hierarchy of exceptions :(
@gustavosantos1063 жыл бұрын
I didn't know Oscar Isaac was a part time Java teacher! and a very good one! Great video: simple, organized, direct, and clear. Suscribed!
@erebosifavour37604 жыл бұрын
I love your channel bro!
@patrickrk444 жыл бұрын
No lie this at the moment is way over my head. But I never turn away from a challenge and want to learn to code. Not only for the money but the challenge to learn. Already speak 5 languages fluently so hopefully I should pick it up easier then not
@jscorpio1987
3 жыл бұрын
Hello fellow language lover!
@nahidahmed33993 жыл бұрын
great video man. just one critique. when showing the execution of the code, zoom out so we can see the code and also the execution. helps to better understand what the code is doing. instead you just made camera transition to the run section.
@diya97073 жыл бұрын
my teacher took 2 hours to explain this and still failed. loved your video !!
@JonasKeil3 жыл бұрын
The tutorial structure is insane!
@tiend24212 жыл бұрын
Thank you for this quick and easy explanation about Exception handling. Even if the new cool kid in town is Python, I still love Java. Even if Java is a statically typed language and is very verbose, it forces me to stay disciplined with my coding. Keep up the good work, mate! Cheers~
@johannarodriguez44863 жыл бұрын
cant believe an 11 minute video taught me more than a 50 minute class that takes place three days a week did
@vit6723
3 жыл бұрын
True
@Michael-AC3 жыл бұрын
What's the difference between using finally and just leaving something outside of the try-catch blocks?
@zoriiginalx7544
2 жыл бұрын
I'm assuming if the catch blocks tries to terminate the program, the finally block will still run while just leaving code outside the try-catch won't run in that instance.
@Spagooli3 жыл бұрын
You explain the topic really well! Thank u!
@kennethazor2 жыл бұрын
ohhhh! THAT'S what exceptions are- processing errors without halting the flow of the program! Thanks! :D
@vit67233 жыл бұрын
Ash: Gotta catch them all
@unbekannter_Nutzer2 жыл бұрын
It's better to write the message in the catch block to System.err, not System.out, so the user can redirect the error stream into a separate log file, or suppress errors altogether (> /dev/null) or suppress everything but the errors.
@rajakumaran46262 жыл бұрын
simple and clarity is very important and then super and thread life cycle video i want may be sent it
@assiaax2769 Жыл бұрын
this man is saving lives in college 🤝
@leaxynite3420 Жыл бұрын
thank you, know i can create my demo in Exception
@bulbultripathy62912 жыл бұрын
Thank you so much for making these videos!
@johnlinley27022 жыл бұрын
Boy, am I glad you did this. Thanks!
@oldcatmeow3 жыл бұрын
Awesome video! Easy to understand. Love from Indonesia. ❤️❤️❤️
@chandrabhushansingh55612 жыл бұрын
Very lucid explanation
@maddy36564 жыл бұрын
Very easy to follow. Thank you! 🥰
@dolodoowop19712 жыл бұрын
Awesome video.! So helpful
@MrVeenay2 жыл бұрын
Hello Sam, You mentioned at 1.41 seconds in the video that we can't have a catch without a try and visa-versa, I can have try {
@ruwaydajama21432 жыл бұрын
I love your video's please do a complete JAVA for absolute beginners !
@abdullasulfikkar52824 жыл бұрын
Pls make one on abstraction.
@shashankshetty5879
4 жыл бұрын
I think it's already there bro like I think oops video probably
@engjellbakiasi7422 жыл бұрын
Can you tell us all the shortcuts that you use during the video?
@yuhyeonpark94084 жыл бұрын
... this is the chapter in the book that I always used to skip...... oh, someone is talking about me!!! lol I'm currently working on my project using Spring framework and ur channel helps me a lot to go over Java again. thank u and plz keep uploading great content!
@Gohel954 жыл бұрын
Most useful and interesting as always.💗
@mikhailn46093 жыл бұрын
Great vid! Minor comment: 01:40 - not entirely correct. Catch requires Try, however Try requires either Catch OR Finally.
@rymfouzari83953 жыл бұрын
thank you !
@michael_scarn_ Жыл бұрын
Thank you Sam
@shamshurr2 жыл бұрын
You rock.....Amazing
@jerrymichel75283 жыл бұрын
Hey, thanks for this video. Super helpful!
@HussainMohammedAshruf2 жыл бұрын
after finally block is executed does it run remaining lines of codes after finally block?
@ghadeerabbas41932 жыл бұрын
very cool explanation :)
@rishablee64712 жыл бұрын
Nice smooth video
@JarikKomarik3 жыл бұрын
Thank you, very helpful !
@Youssef-pd2td4 жыл бұрын
Hey Sam! I currently am in the Seattle area and studying CS, I am a rising sophomore in a community college and will have to transfer next year to a 4 year university. I wanted to know what you think of life as a Software Engineer in SF, in the Seatlle area, you get pretty much the same stuff, but you can live in a house for the price of a small studio in SF. I am currently thinking of applying to the UC schools, but I don't know if it's worthwhile. What would you recommend?
@tannerbarcelos68804 жыл бұрын
Is try/catch a good/common practice for interviews? I’ve noticed many times if I do a leetcode problem, I go out of bounds but overall I am “almost there” for solving the problem. But I feel like try/catch is lazy handling of the logic in an interview setting? Or no? I’ve never interviewed and still have two semesters left in undergrad haha so I dont know. I’m naive
@KeepOnCoding
4 жыл бұрын
I’ve never used try/catch in a DS&A interview.
@theogpill
4 жыл бұрын
Catching exceptions when using arrays would give the impression to the interviewer that you dont understand the data structure you are using. So dont do it. Its like catching an arithmetic exception for a division by zero instead of validating with an if block.
@godofkings4366 Жыл бұрын
nice and simple
@joancasals43653 жыл бұрын
Why is it that after the return; the code still goes to the finally section of the code?
@zeriona103 жыл бұрын
Hey Sam which platform are u coding Java on? I use Eclipse and I absolutely hate it
@KeepOnCoding
3 жыл бұрын
IntelliJ
@cristinerosario49354 жыл бұрын
If you’re beginner which language do I need to learn?
@jscorpio1987
3 жыл бұрын
Whichever language is relevant to what you are trying to accomplish by learning to program. Java is a good start because it’s very general purpose. But if you want to learn, for example, iOS development, Swift would be more relevant. For web development it would be JavaScript (which is not at all related to Java).
@shashankshetty58794 жыл бұрын
Brother if u read this plz reply . I just completed oops and I know arrays and sorting . So now I will practise problems on them and parallely learn data structures .. Is that the right way to learn .. 👀 nice video
@KeepOnCoding
4 жыл бұрын
Yes. Eventually you’ll want to learn linked lists, binary search trees, and hash maps.
@shashankshetty5879
4 жыл бұрын
@@KeepOnCoding ah ok brother. Ty so much for the reply ☺️♥️
@nikhilnanhe34102 жыл бұрын
That was good 👍
@HDbIce-oj3wv4 жыл бұрын
Is studying flutter worth it?Do reply
@user-em9mw9ch3y3 жыл бұрын
thanx
@BBoysAndTrickers2 жыл бұрын
anyone else studying for amazon technical academy? funny hes wearing the shirt
@SauravKumar-vv5qq3 жыл бұрын
but you didn't explain why it does not return it was not clear at all please consider clarifying the last statement
@QuanBad4 жыл бұрын
Hey Sam! My name is Quan and I have a friend who is developing a game in Java. He’s hit a road block and needs a mentor. I’m on the 2D animation side of things so my skill level at coding is ass lol. I was wondering if you have an email so I can connect y’all together & he can ask about these difficult problems he’s having like clearing a level. Hope to hear from you soon!
@ahmjksjssd3 жыл бұрын
beautiful
@innocentrwakigarama38482 жыл бұрын
Good job! very obvious
@amirmachina23465 ай бұрын
Solid
@9SMTM63 жыл бұрын
Yeah not a big fan of Java/JS/Python etc error handling, don't really think it's that much of an improvement over C. Try-catch is very uncomfortable to work with, and you still don't really know the type of exceptions that could happen and you're often not aware that some code could throw an exception, which leads to the issues you mention where some rare exception kills the whole Applikation. You then often try to handle that exception with some global error handling, which is tricky to do right and really not elegant. Very much like Null-Safety Error handling in Java should be handled with the type system. Like Rust does it. With Rust you have a "Result" enum provided by the language. Thanks to the match expression (more powerful and expressive switch case) and some provided helper methods - unwrap(), expect(), unwrap_or(), or_else() - you can still I. E. ignore error handling while prototyping (but you do so explicitly and can find it more easily afterwards) or replace an error value with a default or execute some cleanup on errors. And that Result type is generic and thus has information about the error type that also often helps greatly I. E. when different errors could occur.
@Lyes_Abdellatif2 жыл бұрын
nice
@giapcnphfplhn Жыл бұрын
I hope you can vietsub in Vietnamese in the next videos
@jiawenli37872 жыл бұрын
I love your videos, but I have to say , there are a lot of mistakes in this video , first the definition of exception is wrong, not only while the progame is running have exception ,in fact this 's called RuntimeException , you can't miss unCheckedException when you write your code , another thing is that we could just have try without catch , they both do not have to exist at the same time.
@manfrombritain68163 жыл бұрын
wait so you dont just put everything in try-catch with an empty catch block?
@vit6723
3 жыл бұрын
Its called bad code
@thisurathenuka83623 жыл бұрын
Exceptions can occur at compile time too, bro. They are called Checked Exceptions. (Ex:- FileNotFoundException) . Nice video overall ❤❤ Just be careful to always proofread the script before the video
@amandamate91173 жыл бұрын
you doesnt covered the structure of expections! like why you use sometimes expection e and sometimes a specific arithmetic exception e. I hate the fuckin internet, you find everywhere infos and nowhere everything together in a quick understandable format. everybody just touches topics. fucken bullshit
@poudied88263 жыл бұрын
good tutorial but can you please show us the code while you are showing your face. i mean just put your face at any corners of the screen instead of putting it in the whole screen and not showing the code.
Пікірлер: 94
☕Want to master Java? Get my complete Java course: bit.ly/42mQlXE
Simple and easy to understand, love the videos
@KeepOnCoding
4 жыл бұрын
Thank you!
@drbg11
3 жыл бұрын
@@moisesantonio2632 spammers
Hey Sam I just discovered your channel a couple days ago and think it’s just fantastic. Really easy to follow, and one can tell you know exactly what you’re talking about. Makes me hate my school just a little less for forcing us cybersecurity majors to learn Java.
@KeepOnCoding
4 жыл бұрын
Java for cybersecurity seems a bit strange. Glad you’re enjoying the content though!
You need to make more videos. You're a gifted teacher.
Great tutorial. I come back to your java content when I am stuck in exercises. thank you.
First off and foremost... I enjoy your videos. Good way to use your spare time. Microphone and lighting is awesome by the way. Good job
Major thanks for your video. You're one of the few programming instructors who explains it in a way that beginners like me can understand.
Awesome video! I didn't even know the finally keyword until today. Thank you!
Love the way you keep the things simple. Thank you.
that's the first video i saw in your channel and it's really good, just saw 3 others video of yours. The explanations are really easy to understand, keep up the great work :)
Hey man Shout out to your videos. They are actually helpful. Also love your setting. Respect.
you are truly a good teacher
You don't have enough likes or views for this video for what you deserve; this solved so many doubts I had... Definitely awesome. You got a new subscriber. Keep it going that way!
@KeepOnCoding
3 жыл бұрын
🙌🏼
Exception - An error that occurs in a program during nighttime.
I wish you were my Java Programming Professor. You explain everything so well. Thank you for sharing your knowledge :)
Effortless delivery, keep on keeping on mehn. You're gifted.
You never mentioned the hierarchy of exceptions :(
I didn't know Oscar Isaac was a part time Java teacher! and a very good one! Great video: simple, organized, direct, and clear. Suscribed!
I love your channel bro!
No lie this at the moment is way over my head. But I never turn away from a challenge and want to learn to code. Not only for the money but the challenge to learn. Already speak 5 languages fluently so hopefully I should pick it up easier then not
@jscorpio1987
3 жыл бұрын
Hello fellow language lover!
great video man. just one critique. when showing the execution of the code, zoom out so we can see the code and also the execution. helps to better understand what the code is doing. instead you just made camera transition to the run section.
my teacher took 2 hours to explain this and still failed. loved your video !!
The tutorial structure is insane!
Thank you for this quick and easy explanation about Exception handling. Even if the new cool kid in town is Python, I still love Java. Even if Java is a statically typed language and is very verbose, it forces me to stay disciplined with my coding. Keep up the good work, mate! Cheers~
cant believe an 11 minute video taught me more than a 50 minute class that takes place three days a week did
@vit6723
3 жыл бұрын
True
What's the difference between using finally and just leaving something outside of the try-catch blocks?
@zoriiginalx7544
2 жыл бұрын
I'm assuming if the catch blocks tries to terminate the program, the finally block will still run while just leaving code outside the try-catch won't run in that instance.
You explain the topic really well! Thank u!
ohhhh! THAT'S what exceptions are- processing errors without halting the flow of the program! Thanks! :D
Ash: Gotta catch them all
It's better to write the message in the catch block to System.err, not System.out, so the user can redirect the error stream into a separate log file, or suppress errors altogether (> /dev/null) or suppress everything but the errors.
simple and clarity is very important and then super and thread life cycle video i want may be sent it
this man is saving lives in college 🤝
thank you, know i can create my demo in Exception
Thank you so much for making these videos!
Boy, am I glad you did this. Thanks!
Awesome video! Easy to understand. Love from Indonesia. ❤️❤️❤️
Very lucid explanation
Very easy to follow. Thank you! 🥰
Awesome video.! So helpful
Hello Sam, You mentioned at 1.41 seconds in the video that we can't have a catch without a try and visa-versa, I can have try {
I love your video's please do a complete JAVA for absolute beginners !
Pls make one on abstraction.
@shashankshetty5879
4 жыл бұрын
I think it's already there bro like I think oops video probably
Can you tell us all the shortcuts that you use during the video?
... this is the chapter in the book that I always used to skip...... oh, someone is talking about me!!! lol I'm currently working on my project using Spring framework and ur channel helps me a lot to go over Java again. thank u and plz keep uploading great content!
Most useful and interesting as always.💗
Great vid! Minor comment: 01:40 - not entirely correct. Catch requires Try, however Try requires either Catch OR Finally.
thank you !
Thank you Sam
You rock.....Amazing
Hey, thanks for this video. Super helpful!
after finally block is executed does it run remaining lines of codes after finally block?
very cool explanation :)
Nice smooth video
Thank you, very helpful !
Hey Sam! I currently am in the Seattle area and studying CS, I am a rising sophomore in a community college and will have to transfer next year to a 4 year university. I wanted to know what you think of life as a Software Engineer in SF, in the Seatlle area, you get pretty much the same stuff, but you can live in a house for the price of a small studio in SF. I am currently thinking of applying to the UC schools, but I don't know if it's worthwhile. What would you recommend?
Is try/catch a good/common practice for interviews? I’ve noticed many times if I do a leetcode problem, I go out of bounds but overall I am “almost there” for solving the problem. But I feel like try/catch is lazy handling of the logic in an interview setting? Or no? I’ve never interviewed and still have two semesters left in undergrad haha so I dont know. I’m naive
@KeepOnCoding
4 жыл бұрын
I’ve never used try/catch in a DS&A interview.
@theogpill
4 жыл бұрын
Catching exceptions when using arrays would give the impression to the interviewer that you dont understand the data structure you are using. So dont do it. Its like catching an arithmetic exception for a division by zero instead of validating with an if block.
nice and simple
Why is it that after the return; the code still goes to the finally section of the code?
Hey Sam which platform are u coding Java on? I use Eclipse and I absolutely hate it
@KeepOnCoding
3 жыл бұрын
IntelliJ
If you’re beginner which language do I need to learn?
@jscorpio1987
3 жыл бұрын
Whichever language is relevant to what you are trying to accomplish by learning to program. Java is a good start because it’s very general purpose. But if you want to learn, for example, iOS development, Swift would be more relevant. For web development it would be JavaScript (which is not at all related to Java).
Brother if u read this plz reply . I just completed oops and I know arrays and sorting . So now I will practise problems on them and parallely learn data structures .. Is that the right way to learn .. 👀 nice video
@KeepOnCoding
4 жыл бұрын
Yes. Eventually you’ll want to learn linked lists, binary search trees, and hash maps.
@shashankshetty5879
4 жыл бұрын
@@KeepOnCoding ah ok brother. Ty so much for the reply ☺️♥️
That was good 👍
Is studying flutter worth it?Do reply
thanx
anyone else studying for amazon technical academy? funny hes wearing the shirt
but you didn't explain why it does not return it was not clear at all please consider clarifying the last statement
Hey Sam! My name is Quan and I have a friend who is developing a game in Java. He’s hit a road block and needs a mentor. I’m on the 2D animation side of things so my skill level at coding is ass lol. I was wondering if you have an email so I can connect y’all together & he can ask about these difficult problems he’s having like clearing a level. Hope to hear from you soon!
beautiful
Good job! very obvious
Solid
Yeah not a big fan of Java/JS/Python etc error handling, don't really think it's that much of an improvement over C. Try-catch is very uncomfortable to work with, and you still don't really know the type of exceptions that could happen and you're often not aware that some code could throw an exception, which leads to the issues you mention where some rare exception kills the whole Applikation. You then often try to handle that exception with some global error handling, which is tricky to do right and really not elegant. Very much like Null-Safety Error handling in Java should be handled with the type system. Like Rust does it. With Rust you have a "Result" enum provided by the language. Thanks to the match expression (more powerful and expressive switch case) and some provided helper methods - unwrap(), expect(), unwrap_or(), or_else() - you can still I. E. ignore error handling while prototyping (but you do so explicitly and can find it more easily afterwards) or replace an error value with a default or execute some cleanup on errors. And that Result type is generic and thus has information about the error type that also often helps greatly I. E. when different errors could occur.
nice
I hope you can vietsub in Vietnamese in the next videos
I love your videos, but I have to say , there are a lot of mistakes in this video , first the definition of exception is wrong, not only while the progame is running have exception ,in fact this 's called RuntimeException , you can't miss unCheckedException when you write your code , another thing is that we could just have try without catch , they both do not have to exist at the same time.
wait so you dont just put everything in try-catch with an empty catch block?
@vit6723
3 жыл бұрын
Its called bad code
Exceptions can occur at compile time too, bro. They are called Checked Exceptions. (Ex:- FileNotFoundException) . Nice video overall ❤❤ Just be careful to always proofread the script before the video
you doesnt covered the structure of expections! like why you use sometimes expection e and sometimes a specific arithmetic exception e. I hate the fuckin internet, you find everywhere infos and nowhere everything together in a quick understandable format. everybody just touches topics. fucken bullshit
good tutorial but can you please show us the code while you are showing your face. i mean just put your face at any corners of the screen instead of putting it in the whole screen and not showing the code.
Bro go on teaching something new in java.