Throw And Throws In Java Tutorial #48

Опубликовано: 02 Ноябрь 2024
на канале: Alex Lee
37,684
780

$1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h

In this video, I show you how to use throw and throws in java! The Java throws keyword goes at the top of a method and says what exceptions it might throw! Throw on the other hand, goes in the middle of a method and gives you the power to throw an exception manually!

I hope you enjoyed this tutorial on throw and throws in java!

Full Java Tutorial For Beginners Playlist:    • Full Java Course by Alex Lee  
Free Tips: https://bit.ly/3U6HXcb

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

Alex Lee