+91-85006-22255
What will be the output of the following program?
public class LoopExample { public static void main(String[] args) { for (char i = 0, j = 6; i < 5 && j > 0; i++, --j) { System.out.print((int) i + " " + (int) j + ", "); } }}
Topic: for Loop In Java
Read this topic Take test on this topic
Open In App