Is it possible to create Userdefined Unchecked Exception
also?If Yes, give an example?
Answer Posted / 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 |
Post New Answer View All Answers
Can we pass a primitive type by reference in java? How
Explain access specifiers?
Why method overriding is used?
What is the this keyword?
What access modifiers can be used for methods?
Write a program in java to find the maximum and minimum value node from a circular linked list.
What is the SimpleTimeZone class?
What do you mean by local class?
What flag up means?
What is arraylist e?
What is an object class?
List some oops concepts in java?
What is == in java?
What are the different types of constructor?
What is purpose of keyword void?