I thought code wont compile. But when I ran code, output is 123. Why ? As Object is not a array type, how can it refers to an int array? I think, because array is itself an object that's why Object can refer to an int array. Correct me if I am wrong.