0
What is the output of the following Java program?
class A {
static { System.out.print("S"); }
{ System.out.print("I"); }
A() { System.out.print("C"); }
}
public class Main {
public static void main(String[] args) {
new A(); new A();
}
}- ASICSIC
- BSICIC
- CICIC
- DSSIICC
Correct answer: B