A
Q. What will be the output for the below code?
public class Test{
static{
int a = 5;
}
public static void main(String[] args){
System.out.println(a);
}
}
- Correct Answer - Option(A)
- Views: 36
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.