6
Answer (Choose 1 answer)
What will be the result of attempting to compile and run the following code?
A. a sequence of 5 0's will be printed
B. Error: ar is used before it is initialized
C. IndexOutOfBoundes Error
D. Error Mine must be declared abstract
abstract class MineBase {
abstract void amethod();static int i;}
public class Mine extends MineBase {
public static void main(String argv[]){
int[] ar=new int[5];
for(i=0;i < ar.length;i++)
System.out.println(ar[i]);