Which of the following is false for Static Initializers?
Options
- A static initializer block resembles a method with a name, arguments, and return type
- They need to be referred from outside the class definition.
- The code in a static initializer block is executed by the virtual machine when the class is loaded.
- Both a and b
CORRECT ANSWER : Both a and b
Write your comments