Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Ques 206. What is DriverManager?

Ans. The basic service to manage set of JDBC drivers.

Is it helpful? Add Comment View Comments
Ques 207. What is Class.forName() does and how it is useful?
Ans. It loads the class into the ClassLoader. It returns the Class. Using that you can get the instance ( 'class-instance'??.newInstance() ).
Is it helpful? Add Comment View Comments
Ques 208. What is the purpose of finalization?
Ans. 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 209. What is the difference between the Boolean & operator and the && operator?
Ans. If an expression involving the Boolean & operator is evaluated, both operands are evaluated. Then the & operator is applied to the operand. When an expression involving the && operator is evaluated, the first operand is evaluated. If the first operand returns a value of true then the second operand is evaluated. The && operator is then applied to the first and second operands. If the first operand evaluates to false, the evaluation of the second operand is skipped.
Is it helpful? Add Comment View Comments
Ques 210. How many times may an object's finalize() method be invoked by the garbage collector?
Ans. An object's finalize() method may only be invoked once by the garbage collector.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook