Multiple choice softskills creativity

which of them are executed before contructor is called??

  1. static variable

  2. Abstract method

  3. Initializer Block

  4. Instance variables

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

In Java, static variables are initialized when the class is loaded, and initializer blocks (both static and instance) run before the constructor body. Static blocks run once at load time; instance blocks run every time an object is created, just before the constructor.