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 |
How many arguments can a method have java?
What is the purpose of the File class?
Is it necessary for the port addresses to be unique? Explain with reason.
How do you check if a character in a string is a digit or letter?
What is method overriding in java ?
what is difference between equals and ==?
Can we force the garbage collection to run?
Can you access non static variable in static context?
What is qms certification?
What is local class in java?
What is final access modifier in java?
Why to give the file name same as the public class name in java?