What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-03 04:30:38
Unchecked exception
1) All the subclasses of Throwable class except error,Runtime Exception and its subclasses are checked exceptions. 2) Checked exception should be thrown with keyword throws or should be provided try catch block, else the program would not compile. We do... Add solution -
Other 2022-01-28 20:45:58
checked vs unchecked exceptions
1) All the subclasses of Throwable class except error,Runtime Exception and its subclasses are checked exceptions. 2) Checked exception should be thrown with keyword throws or should be provided try catch block, else the program would not compile. We do... Add solution -
Java 2021-09-15 10:42:02
importance of throws keyword in java
Throws statement is used at the end of method signature to indicate that an exception of a given type may be thrown from the method. The main purpose of throws keyword is to delegate responsibility of exception handling to the caller methods, in the cas... Add solution -
Other 2021-09-15 06:43:02
What are checked Exceptions
1) All the subclasses of Throwable class except error,Runtime Exception and its subclasses are checked exceptions. 2) Checked exception should be thrown with keyword throws or should be provided try catch block, else the program would not compile. We do... Add solution
Best helpers
Ranking is empty