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 116. What modifiers may be used with an interface declaration?

Ans. An interface may be declared as public or abstract.

Is it helpful? Add Comment View Comments
Ques 117. Is a class a subclass of itself?
Ans. A class is a subclass of itself.
Is it helpful? Add Comment View Comments
Ques 118. What is the difference between a while statement and a do statement?
Ans. A while statement checks at the beginning of a loop to see whether the next loop iteration should occur. A do statement checks at the end of a loop to see whether the next iteration of a loop should occur. The do statement will always execute the body of a loop at least once.
Is it helpful? Add Comment View Comments
Ques 119. What modifiers can be used with a local inner class?
Ans. A local inner class may be final or abstract.
Is it helpful? Add Comment View Comments
Ques 120. What is the purpose of the File class?
Ans. The File class is used to create objects that provide access to the files and directories of a local file system.
Is it helpful? Add Comment View Comments

Most helpful rated by users:

©2016 WithoutBook