What will be the result of compilation and execution of the following code:
class ArrayList<E> implements List<E> {
boolean addAll(Collection<E> c) {...}
// ... other methods
}
List<String> strings = new ArrayList<>();
List<Object> objects = new ArrayList<>();
objects.addAll(strings);
System.out.println(objects);