Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. All exceptions must be a child of Throwable.|
If you want to write a checked exception that is automatically enforced by the Handle or Declare Rule, you need to extend the Exception class.
You want to write a runtime exception, you need to extend the RuntimeException class.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   exceptions   exception handling   user defined exceptions   throwable   architecture   library development   technical architect   technical lead|
|What are the benefits of using Spring Framework ?|
|Difference between C++ and Java ?|
|Difference between SAX and DOM Parser ?|
|What are various types of Class loaders used by JVM ?|
|Different types of memory used by JVM ?|
|How substring() method of String class create memory leaks?|
|What are LDAP servers used for ?|
|What is the best practice configuration usage for files - pom.xml or settings.xml ?|
|Why Web services use HTTP as the communication protocol ?|