You are on page 1of 8

FINAL LAB QUIZ 1

Started on Saturday, 9 December 2023, 4:41 PM


State Finished
Completed on Saturday, 9 December 2023, 4:52 PM
Time taken 11 mins 2 secs
Marks 15.00/15.00
Grade 100.00 out of 100.00
Question 1
Correct
Mark 1.00 out of 1.00

Flag question

Question text
Allows developers to create Java programs that can be executed and run by the JVM and
JRE.

Question 1Select one:

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.

Question 2Select one:


a.
False

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.

Question 3Select one:

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.

Question 4Select one:

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.

Question 5Select one:

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 ______________________?

Question 6Select one:

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.

Question 7Select one:

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.

Question 8Select one:

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.

Question 9Select one:

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.

Question 10Select one:

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.

Question 11Select one:

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.

Question 12Select one:

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.

Question 13Select one:


a.
JDK

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.

Question 14Select one:

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

Question 15Select one:

a.
February 2000

b.
September 2004

c.
February 2002

d.
September 2002

You might also like