A
Q. What is the output of the below Java program?
Code:
int a=1;
while(a<4)
{
System.out.print(a + " ");
a++;
}
while(a<4)
{
System.out.print(a + " ");
a++;
}
- Correct Answer - Option(B)
- Views: 6
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.