(OCP) Oracle Certified Professional Practice Test

โ–ถ

OCP Generics and Collections 2

Free ยท Instant Results

What is the result of compiling and running the following code? ```java List<String> list = new ArrayList<>(); list.add("A"); List<Object> objList = list; objList.add(42); System.out.println(list.get(1)); ```
โ–ถ Start Practice Test