The Java candidates for a position are selected on the basis of their
performance in timed online quiz. This Java quiz consists of 22 java questions
trying to assess your knowledge on various aspects of Java. Take this quiz and
measure your performance on the basis of your score & time you took to
Test > Java quiz
Here are few sample Java online quiz questions
Which statement is true?
An anonymous inner class can access final variables in any
An anonymous inner class may be declared as protected.
An anonymous inner class can implement multiple interface.
Which cannot directly cause a thread to stop executing?
Calling a yield method.
Calling the start method on another Thread object.
Calling the notify method on an object.
Calling wait method on an object.
Which code determines the int value data closer to, but not greater than, a
double value b?
Int data = (int) Math.abs(b);
Int data = (int) Math.ceil(b);
Int data = (int) Math.floor(b);
Int data = (int) Math.min(b);
Click here to
start Java online quiz
Create an instance of a JDBC driver, Register a driver, Specify a
Exceptions are errors that occur at runtime and disrupt the normal flow of
execution of instructions in a program...............
answer: Class loader finds and loads the class at
runtime. Java class loader can load classes from across network or from other
sources like HTTP, FTP etc.................