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 176. How will you invoke any external process in Java?

Ans. Runtime.getRuntime().exec('.)

Is it helpful? Add Comment View Comments
Ques 177. What is the finalize method do?
Ans. Before the invalid objects get garbage collected, the JVM give the user a chance to clean up some resources before it got garbage collected.
Is it helpful? Add Comment View Comments
Ques 178. What is mutable object and immutable object?
Ans. If a object value is changeable then we can call it as Mutable object. (Ex., StringBuffer, ') If you are not allowed to change the value of an object, it is immutable object. (Ex., String, Integer, Float, ')
Is it helpful? Add Comment View Comments
Ques 179. What is the basic difference between string and stringbuffer object?
Ans. String is an immutable object. StringBuffer is a mutable object.
Is it helpful? Add Comment View Comments
Ques 180. What is the purpose of Void class?
Ans. The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook