OOP Final Quiz 2
OOP Final Quiz 2
OOP Final Quiz 2
Flag question
Question text
Allows developers to create Java programs that can be executed and run by the JVM and
JRE.
a.
JVM
b.
J2SE
c.
JDK
d.
JRE
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A final class can be inherited.
b.
True
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Finally is a method that is called by JVM during garbage collection.
a.
False
b.
True
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It belong to the class instead of a specific instance, this means you can access it without
object.
a.
Static members
b.
Static Keyword
c.
Static Block
d.
Static variable
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is common to all the instances (or objects) of the class because it is a class level variable.
a.
Static Keyword
b.
Static members
c.
Static variable
d.
Static Block
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Static variables are also known as ______________________?
a.
Class methods
b.
Class variables
c.
Static Keyword
d.
Static block
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A finally block must be associated without a try block.
a.
False
b.
True
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
If no exception occurs in try block then the catch blocks are completely ignored.
a.
False
b.
True
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It contains set of statements where an exception can occur.
a.
Catch block
b.
Try block
c.
Finally
d.
Exception
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Facility to allow multiple activities within a single process.
a.
GUI applications
b.
Multiprocessor systems
c.
Risk factor
d.
Java threads
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Using threads increases the responsiveness of GUI applications.
a.
False
b.
True
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Feature of java that means, organizing our software as a combination of different types of
objects that incorporates both data and behavior.
a.
Object-Oriented
b.
Portable
c.
Simple
d.
Platform Independent
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a Java platform component that executes programs.
b.
JVM
c.
J2SE
d.
JRE
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Part of the Java Runtime Environment(JRE) which is used to load Java classes into the Java
Virtual Machine dynamically.
a.
Security Manager
b.
JVM
c.
Classloader
d.
Bytecode Verifier
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The J2SE 1.4 was released on
a.
September 2002
b.
February 2002
c.
September 2004
d.
February 2000