Return to site

JAVA CERTIFICATION QUESTION: Java records as instance inner classes

=>Digging into the behavior of Java records, including implicit references

· java,ocp

Given the Computer class:

 

Your colleague is working on refactoring to use a record to generate the report.

How can this be achieved? Choose one.

A)

 B)

 C)

 

D) None of the above.

 

 

 

 

·ꓷ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ ·uoᴉsnʅɔuoꓛ