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 |
Explain the difference between transient and volatile in java?
When do we use hashset over treeset?
what is language and it responsibilities
Why is boolean important?
hr interview how many minutes asking question
How do you check if two given string are anagrams?
system.out.println(1 + 3);
What does 3 dots mean in java?
What is the top class of AWT event hierarchy?
What does bitwise or mean?
What is nested class?
Should a main method be compulsorily declared in all java classes?