What is the output of the given program?
public class ScopeTest
{
public static void main (String [] args)
{
int [] array = {1, 2, 3, 4, 5};
System.arraycopy (array, 2, array, 2);
System.out.print (array [1]);
System.out.print (array[4]);
}
}
Reveal answer
Fill a bubble to check yourself