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 |
how we can make a write-only class in java?
What is methodological framework?
What is meant by null and void?
How we create object in copy constructor?
What is javac_g?
What are the drawbacks of singleton class?
Difference between abstract and concrete class ?
What is a default constructor and also define copy contrucyor?
Can singleton class be inherited in java?
What is illegal identifier in java?
What are passing parameters?
What is class array in java?