Engineering Full Stack Apps with Java and JavaScript
Which of the following statements can be inserted at // 1 to make the code compile without errors?
public class InitTest{ static int si = 10; int i; final boolean bool; // 1 }
Select 1 option
A. instance { bool = true; }
B. InitTest() { si += 10; }
C. { si = 5; i = bool ? 1000 : 2000;}
D. { i = 1000; }
E. { bool = (si > 5); i = 1000; }