A
Q. What is the output of the below Java code with a FOR loop?
Code:
for(int i=1; i<5; i++)
{
System.out.print(i +",");
}
{
System.out.print(i +",");
}
- Correct Answer - Option(A)
- Views: 9
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.