Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Test your skills through the online practice test: Core Java Quiz Online Practice Test

Ques 176. What is the base class for Error and Exception?

Throwable

Is it helpful? Add Comment View Comments
 

Ques 177. What is the implementation of destroy method in java.. is it native or java code?

This method is not implemented.

Is it helpful? Add Comment View Comments
 

Ques 178. What is the purpose of finalization?

The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.

Is it helpful? Add Comment View Comments
 

Ques 179. How many times may an object's finalize() method be invoked by the garbage collector?

An object's finalize() method may only be invoked once by the garbage collector.

Is it helpful? Add Comment View Comments
 

Ques 180. What is the purpose of the finally clause of a try-catch-finally statement?

The finally clause is used to provide the capability to execute code no matter whether or not an exception is thrown or caught.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2024 WithoutBook