(Choose 1 answer)
What is the output of the following program?
class test
public void main(String[] args)
{
int i;do
i++;
}while(i<0);
System.out.println(i);
}
}
A. 0
B. 1
C. Cannot compile and display error "variable i might not have been initialized"
D. Compile OK but display nothing
}
2