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 about static nested classes in java?
what is the difference between HashMap and Hashtable
17 Answers Value Labs, Virtusa,
explain the collection in java
What is void class in java?
what is encapsulation in java? Explain
Write the program numbers into words.For example 2345==two thousand three hundred fourty five
What is maximum size of arraylist in java?
when,where and how to use abstract class and interface
Is empty string in java?
What is the benefit of singleton pattern?
What is an example of declaration?
what is connection pooling with example?