What is the output of the following code segment? Collection coll = List.of("A","B", null);

What is the output of the following code segment?
Collection<String> coll = List.of("A","B", null);



Answer: Exception


Learn More :

Data Structures

Learn More Multiple Choice Question :