AAI
Home
Explore
Questions
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6
Question 7
Question 8
Question 9
Question 10
30:00
Consider the following code snippet:
List<?> list = new ArrayList<>(); list.add(new Object());
What will be the result of executing this code?
No failures during Compile or Runtime
UnsupportedOperationException at Runtime
ClassCastException at Runtime
Compilation error
Prev
1 / 10
Next