Answer:
C. 0 1 2.
Step-by-step explanation:
As we know that in Java arrays are created dynamically.In this problem we are first assigning the array {1,2,3} and it's reference is assigned to list1. When we write list2=list1 now list will be referencing the same array as the list1. So any changes made to list1 will be reflected to the list2 reference also.