Search Interview Questions
| 3152 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core java - Interview Questions and Answers for 'Choice hotels' - 1 question(s) found - Order By Newest|
|Ans. An Exception in java is the occurrence during computation that is anomalous and is not expected. |
Exception handling is the mechanism which is used to handle such situations.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve exception handling EPAM Deloitte Choice Hotels Future Group Cognizant (CTS) Wipro Infosys HCL Technologies Accenture Accenture India Amdocs IBM Ultramain Systems Jean Martin Tata Consultancy (TCS) GE Digital At&t basic   frequent|
|What are the ways to avoid LazyInitializationException ?|
|What things should be kept in mind while creating your own exceptions in Java?|
|Explain java.lang.OutOfMemoryError ?|
|How compiler handles the exceptions in overriding ?|
|If you are given a choice to implement the code to either Insert a Record or Update if already exist, Which approach will you follow ?|
|Explain throw, throws , try and catch in Java ?|
|What will happen if we don't have termination statement in recursion ?|
|Name few Java Exceptions ?|
|How can we make sure that a code segment gets executed even in case of uncatched exceptions ?|
|Is it necessary that each try block to be followed by catch block ?|