Q. What is the output of the below Java program?
Code:public class TestingMethods5
{
public static void main(String[] args)
{
int localVariable;
System.out.println(localVariable);
}
}
β
Correct Answer: (D)
Compiler error