Return to site

JAVA CERTIFICATION QUESTION: Initializing enums in Java code

· java,ocp

Given the following two Java types from a unit testing framework:

And this test case scenario:

What will be the system output? Choose one.

A. IO CO SO CTC ITC CTC ITC

B. SO IO CO ITC CTC ITC CTC

C. ITC CTC ITC CTC SO IO CO

D. SO IO CO IO CO ITC CTC ITC CTC

E. IO CO IO CO SO ITC CTC ITC CTC

 

 

 

 

 

·Ǝ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ :uoᴉsnๅɔuoꓛ