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 131. How are this() and super() used with constructors?

Ans. this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.

Is it helpful? Add Comment View Comments
Ques 132. What is the relationship between a method's throws clause and the exceptions that can be thrown during the method's execution?
Ans. A method's throws clause must declare any checked exceptions that are not caught within the body of the method.
Is it helpful? Add Comment View Comments
Ques 133. Why are the methods of the Math class static?
Ans. So they can be invoked as if they are a mathematical code library.
Is it helpful? Add Comment View Comments
Ques 134. What are the legal operands of the instanceof operator?
Ans. The left operand is an object reference or null value and the right operand is a class, interface, or array type.
Is it helpful? Add Comment View Comments
Ques 135. What an I/O filter?
Ans. An I/O filter is an object that reads from one stream and writes to another, usually altering the data in some way as it is passed from one stream to another.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook