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.
|Core Java - Interview Questions and Answers for 'Shutdown hook' - 1 question(s) found - Order By Newest|
|Ans. Shutdown hook is a thread that is invoked before the JVM is shut down. we can use it perform resource cleaning task.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  shutdown hook  jvm|
Try 1 Question(s) Test
|What are different ways to create String Object? Explain.|
|Difference between JVM, JRE and JDK ?|
|Explain java.lang.OutOfMemoryError ?|
|What are various types of Class loaders used by JVM ?|
|What are strong, soft, weak and phantom references in Java ?|
|Can I import same package/class twice? Will the JVM load the package twice at runtime?|
|Different types of memory used by JVM ?|
|What is a class loader ? What are the different class loaders used by JVM ?|
|Is JVM, a compiler or interpretor ?|
|Why do member variables have default values whereas local variables don't have any default value ?|