ExamVeda
Login
Home
This question belongs to Java Program Generics In Java
Generics in Java
?

What is the result of the following Java code?
List list = new ArrayList<>();
list.add("Hello");

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.