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 5 types of research methods?
What are the topics in core java?
What is singleton math?
Why hashmap is used in java?
What is the difference between hashmap and hashtable? What is an interface?
What do you know about java?
Can we write a class without main method in java?
How does predicate work in java?
Is zero a natural number?
What is an example of declaration?
What are predicates in java 8?
Is java still necessary?
How do you do math powers in java?
Explain inner classes ?
What is t type java?