Java Mock Test III
Java Mock Test III
Copyright tutorialspoint.com
http://www.tutorialspoint.com
This section presents you various set of Mock Tests related to Java Framework. You can download
these sample mock tests at your local machine and solve offline at your convenience. Every mock
test is supplied with a mock test key to let you verify the final score and grade yourself.
Q 3 - What is an applet?
A - An applet is a Java program that runs in a Web browser.
B - Applet is a standalone java program.
C - Applet is a tool.
D - Applet is a run time environment.
Q 6 - What is JRE?
A - JRE is a java based GUI application.
B - JRE is an application development framework.
C - JRE is an implementation of the Java Virtual Machine which executes Java programs.
D - None of the above.
Q 11 - What is composition?
Q 20 - What is NullPointerException?
A - A NullPointerException is thrown when calling the instance method of a null object or
modifying/accessing field of a null object.
B - A NullPointerException is thrown when object is set as null.
C - A NullPointerException is thrown when object property is set as null.
D - None of the above.
Q 21 - Which is the way in which a thread can enter the waiting state?
A - Invoke its sleep method.
B - invoke object's wait method.
C - Invoke its suspend method.
D - All of the above.
ANSWER SHEET
Question Number
Answer Key
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Loading [MathJax]/jax/output/HTML-CSS/jax.js