Return to site

JAVA CERTIFICATION QUESTION: TreeSets, LinkedLists, and ArrayDeques in Java

· java,ocp

Given this code:

What is the result? Choose one.

A. Runtime exception at line n1

B. Runtime exception at line n2

C. [Jane, Alan, John, Bert, Kathy]

D. [Jane, Alan, Bert, John, Kathy]

E. [Alex, Jane, Alan, Bert, John, Kathy]

F. [Alex, Jane, Alan, John, Bert, Kathy]

 

 

 

 

 

 

Ǝ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ