Multiple choice technology programming languages

  1. How many static init can you have ?

  1. 1

  2. 2

  3. Many

  4. None of these

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

Java allows multiple static initialization blocks in a class. They are executed in the order they appear in the class, from top to bottom. There's no limit to the number of static blocks you can declare.