public class MainClass{
private static int i = 3;
public static void main(String[] argv){
System.out.println();
}
}
A. The value of i may not be changed after it is assigned a value.
B. i may only be updated by a static method.
C. i is shared among all instances of MainClass.
D. i may only be accessed within MainClass.
|