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));
```
-
A
Prints 42
-
B
Compile error: incompatible types
-
C
ClassCastException at runtime
-
D
Prints null