OOP Final Quiz 2

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Final Quiz 2

Started on Thursday, 14 December 2023, 9:50 AM


State Finished
Completed on Thursday, 14 December 2023, 10:06 AM
Time taken 16 mins 6 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.
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.

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.
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.

Question 4Select one:

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.

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.
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.

Question 7Select one:

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.

Question 8Select one:

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.

Question 9Select one:

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.

Question 10Select one:

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.

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.
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.

Question 13Select one:


a.
JDK

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.

Question 14Select one:

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

Question 15Select one:

a.
September 2002

b.
February 2002

c.
September 2004

d.
February 2000

You might also like