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 |
When finally clause is executed?
List any five features of java?
What is a function in java?
What is local class in java?
Default layout of Dialog object?
If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?
What are functions in java?
Explain about the main() method in java?
What is a parameter in a function?
What are the main features of java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
what are the rules to use try catch finally?