You have written the following Java program in a file called :
class ExamPrep {
public static void main(String[] args){
int myvar;
System.out.println(myvar);
}
}
You run javac and java ExamPrep. What is the output? Choose the correct answer:
A. 0
B. null
C. undefined
D. The javac command fails with an error because you have not initialized myvar.