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 156. Is sizeof a keyword?

Ans. The sizeof operator is not a keyword.

Is it helpful? Add Comment View Comments
Ques 157. Does garbage collection guarantee that a program will not run out of memory?
Ans. Garbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection
Is it helpful? Add Comment View Comments
Ques 158. Can an object's finalize() method be invoked while it is reachable?
Ans. An object's finalize() method cannot be invoked by the garbage collector while the object is still reachable. However, an object's finalize() method may be invoked by other objects.
Is it helpful? Add Comment View Comments
Ques 159. What value does readLine() return when it has reached the end of a file?
Ans. The readLine() method returns null when it has reached the end of a file.
Is it helpful? Add Comment View Comments
Ques 160. Can a for statement loop indefinitely?
Ans. Yes, a for statement can loop indefinitely. For example, consider the following: for(;;) ;
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook