+91-85006-22255
What will be the output of the following program?
class ArrayOutput{ public static void main(String s[]) { int a[] = {12, 15, 16, 17, 19}; for(int i = 0; i < 5; i += 2) { System.out.println(a[i]); } }}
Topic: Learn Arrays And Loops
Read this topic Take test on this topic
Open In App