+91-85006-22255
What will be the output of the following program?
class MultiVariableFor{ public static void main(String s[]) { int a, b; for(a = 1, b = 4; a < b; a++, b--) { System.out.println("a = " + a); System.out.println("b = " + b); } }}
Topic: for Loop In Java
Read this topic Take test on this topic
Open In App