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 |
What about static nested classes in java?
Can we override private method in java?
What is a finally block? Is there a case when finally will not execute?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What does ide stand for?
Differentiate between the constructors and methods in java?
What is the similarity between dynamic binding and linking?
How can the checkbox class be used to create a radio button?
How to obtain a performance profile of java program
What is the purpose of interface?
Differences between traditional programming language and object oriented programming language?
What does flagged out mean?