There are also Capgemini HR interview questions in this article so do check them out.  The Java String Pool is a collection of strings in Java's Heap memory. When you try to create a new string object, JVM first checks to see if the object is already in the pool. If an object reference is present, it is shared with the variable; otherwise, a new object is generated.  In Java, an exception is defined as an unexpected occurrence that can disturb the usual flow of the program. These events can be resolved using the Exception Handling mechanism.  In Java, the term final is a predefined phrase that is used when declaring values for variables.  When a variable is declared using the final keyword, its value remains constant during the program's execution.