Eklavya Online | Technical Interview Questions Preparation Portal - Part 2

Hibernate Java Interview Questions

Total Views: 51,361 Explain about mapping description file Mapping description file is the second file which Hibernate uses to configure its functions. This mapping file has an extension *.hbm which instructs mapping between Java class and database tables. The usage of mapping description file rests entirely upon the business entity.   Explain about transparent persistence of Hibernate …

Hibernate Java Interview Questions Read More »

Multi Threading Java Interview Questions

Total Views: 51,772 What is the wait/notify mechanism? This deals with concurrent programming. The wait() and notify() methods are designed to provide a mechanism to allow a thread to be block until a specific condition is met. However, java.util.concurrent should be used instead of wait() and notify() to reduce complexity.   How can a collection …

Multi Threading Java Interview Questions Read More »

Garbage Collection Java Interview Questions

Total Views: 53,102 What is the difference between final, finally and finalize final” is the keyword to declare a constant AND prevents a class from producing subclasses. “finally” is a block of code that always executes when the try block is finished, unless System.exit() was called. “finalize()” is an method that is invoked before an object is …

Garbage Collection Java Interview Questions Read More »

Exception Handling Java Interview Questions

Total Views: 53,588 What is the difference between checked and unchecked exceptions? In general, unchecked exceptions represent defects in the program (bugs), which are normally Runtime exceptions. Furthermore, checked exceptions represent invalid conditions in areas outside the immediate control of the program. Explain Checked Exceptions and Unchecked Exceptions with examples Unchecked exceptions : represent defects …

Exception Handling Java Interview Questions Read More »