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 111. What is the catch or declare rule for method declarations?

Ans. If a checked exception may be thrown within the body of a method, the method must either catch the exception or declare it in its throws clause.

Is it helpful? Add Comment View Comments
Ques 112. Can an anonymous class be declared as implementing an interface and extending a class?
Ans. An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.
Is it helpful? Add Comment View Comments
Ques 113. What is the range of the char type?
Ans. The range of the char type is 0 to 2^16 - 1.
Is it helpful? Add Comment View Comments
Ques 114. Is 'abc' a primitive value?
Ans. The String literal 'abc' is not a primitive value. It is a String object.
Is it helpful? Add Comment View Comments
Ques 115. What restrictions are placed on the values of each case of a switch statement?
Ans. During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook