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
Where is stringbuffer stored?
What kind of variables a class can consist of?
Differentiate between vector and array list.
How can you set the applet size?
Does google use java?
Write a function for palindrome and factorial and explain?
Write a program to print fibonacci series
What exactly is methodology?
Can a constructor call another constructor?
How do you sort in descending order in java using collections sort?
what is synchronization and why is it important? : Java thread
How do you stop a thread in java?
Which are different kinds of source code?
What is immutable in java?
Explain some best practices you would apply while using collection in java?