Is it possible to create Userdefined Unchecked Exception
also?If Yes, give an example?
Answers were Sorted based on User's Feedback
Answer / saf
You can create unchecked exception by inhereting
RuntimeException class. Spec does not say that we can't do
it but it is advisable to go for custom checked exception
| Is This Answer Correct ? | 17 Yes | 2 No |
What is jit and its use?
What is the difference between Grid and Gridbaglayout?
How do you set security in applets?
define System.out.println(); what is the meaning!
When does a class need a virtual destructor?
Give few difference between constructor and method?
What is the size of arraylist in java?
What does it mean that a method or field is “static”?
What is java objectoutputstream?
how to use crystal reports in java
Write a program to find the whether a number is an Armstrong number or not?
What do you mean by ternary operator in java?