Skip to content

Java throw keyword is used throw an exception explicitly in the code, inside the function or the block of code. The Java throws keyword is used to declare an exception. It gives an information to the programmer that there may occur an exception.

License

VaibhavMojidra/Java---Demo-Throw-And-Throws-Keywords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Demo Throw And Throws Keywords

Vaibhav Mojidra - 1.jpeg

About

Java throw keyword is used throw an exception explicitly in the code, inside the function or the block of code. The Java throws keyword is used to declare an exception. It gives an information to the programmer that there may occur an exception.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages