Solved

When Are Statements in a Class-Level Static Initialization Block Executed

Question 11

Multiple Choice

When are statements in a class-level static initialization block executed?


A) Before the code in the class constructor is executed.
B) Once when the class is loaded.
C) Whenever objects of the class are used to access methods.
D) After the code in the class constructor is executed.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions