History, asked by waghrohit156, 5 months ago

What is the output of the following?

class GFG

{

public static void main (String[] args)

{

int[] arr = new int[2];

arr[0] = 10;

arr[1] = 20;



for (int i = 0; i <= arr.length; i++)

System.out.println(arr[i]);

}

}​

Answers

Answered by aarifaabu2126
0

Answer:

ohhh it's about coding

Similar questions