A
Q. What will be the output of the following code?
int i = 1;
while(i < 3) {
i++;
}
System.out.print(i);
- Correct Answer - Option(C)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.