Flow Control

© examsiri.com
Question : 4 of 14
 
Marks: +1, -0
Given:
1. public static void main(String[] args) {
2.   Object obj = new int[] { 1, 2, 3 };
3.   int[] someArray = (int[])obj;
4.   for (int i : someArray) System.out.print(i + " ");
5. }

What is the result?
Go to Question: