public class
Test {
public static void main(
String args[])
{
calculate(new int[] { 0, 1, 3 }); //1
}
static void calculate(long[] l) //2
{
System.out.println(l.length); //3
}
}
A : The code does not compile due to line //1
B : The code does not compile due to line //2
C : The code does not compile due to line //3
D : The code compiles and runs with output: 3
E : The code compiles but throws exception at line //1 at runtime