Collections and Generics

© examsiri.com
Question : 7 of 53
 
Marks: +1, -0
Given:
1. import java.util.*;
2. public class Old {
3.   public static Object get0(List list) {
4.    return list.get(0);
5.   }
6. }

Which three will compile successfully? (Choose three.)
Go to Question: