how to make a un-checked exception as a checked exception one.

Answer Posted / janardhan

If a client can reasonably be expected to recover from an
exception, make it a checked exception. If a client cannot
do anything to recover from the exception, make it an
unchecked exception.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why stringbuffer is faster than string?

791


What will happen if static modifier is removed from the signature of the main method?

732


What does the three dot emoji mean?

820


How do you change an int to a string?

759


What is the use of runnable interface?

847


What is java oops?

780


What is multithreading and its advantages?

813


Variables used in a switch statement can be used with which datatypes?

744


What is getclass () getname () in java?

893


Define packages in java?

791


What is the new line character?

838


Difference between start() and run() method of thread class?

819


Does importing a package imports its sub-packages as well in java?

755


What does I ++ mean?

824


Similarity and difference between static block and static method ?

727