Oop Final Lab Quiz 1
Oop Final Lab Quiz 1
Oop Final Lab Quiz 1
Flag question
Question text
Allows developers to create Java programs that can be executed and run by the JVM and
JRE.
a.
JRE
b.
J2SE
c.
JDK
d.
JVM
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.
True
b.
False
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 variable
b.
Static members
c.
Static Block
d.
Static Keyword
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.
Static Keyword
b.
Static block
c.
Class variables
d.
Class methods
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.
True
b.
False
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.
True
b.
False
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.
Finally
b.
Try block
c.
Exception
d.
Catch block
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Facility to allow multiple activities within a single process.
a.
Multiprocessor systems
b.
Risk factor
c.
GUI applications
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.
Simple
b.
Portable
c.
Platform Independent
d.
Object-Oriented
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a Java platform component that executes programs.
b.
J2SE
c.
JRE
d.
JVM
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.
Bytecode Verifier
b.
Classloader
c.
Security Manager
d.
JVM
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The J2SE 1.4 was released on
a.
February 2000
b.
September 2004
c.
February 2002
d.
September 2002