Return to site

JAVA CERTIFICATION QUESTION: Copying arrays in Java with the java.util.Arrays class

· java,ocp

When copying data, you need to know when you’ve copied a value contained in an object and when you’ve copied a reference to the object.

Given the class:

 

Which is the output? Choose one.

A. true

B. false

C. Runtime exception at line n1

D. Runtime exception at line n2

 

 

 

 

 

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