Answer Posted / harmeet
Checked Exceptions must be caught and thrown by the user
otherwise compile time error will be displayed saying it
must be catched. We've to catch those exceptions using try
and catch blocks.
Eg:Class.forName() throws ClassNotFoundException, when
trying to load the specified file in class.forName().
whereas Unchecked Exceptions are handled by jvm, user need
not to handle those exceptions.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the common uses of "this" keyword in java ?
Does java vector allow null?
What do you mean by Function Overloading in java?
What is a war file?
What does jenkins do?
How many bytes is 255 characters?
What is the meaning of variable in research?
What is hotjava?
What are java packages?
What should I import for arraylist in java?
What are the legal parameters?
What do you understand by casting in java language?
How do you create a sop?
Is list ordered in java?
What is loop in java?