11. Which keyword is used to define generic methods in Java?
12. What is the purpose of the `>` wildcard in a method parameter in Java generics?
13. What is the result of the following Java code?
List> list = new ArrayList<>();
list.add("Hello");
List> list = new ArrayList<>();
list.add("Hello");
14. In Java, which exception is thrown when there is a type mismatch due to generics?
15. What is the purpose of the `extends` keyword in Java generics?
16. What does the term "type parameter" mean in Java generics?
17. In Java generics, what is the purpose of the `? extends T` wildcard?
18. Which of the following is a valid use of generics in Java?
19. What is the result of the following Java code?
List extends Number> list = new ArrayList<>();
list.add(new Integer(10));
List extends Number> list = new ArrayList<>();
list.add(new Integer(10));