Leave a Reply 11

Your email address will not be published. Required fields are marked *


Kaykay

Kaykay

Definitely D.

Anurag

Anurag

Why not array index out of bounds

brcabral

brcabral

Because you are copy the references of the objects nums2 to nums1.

bob

bob

Anyone has other dumps avaible ?

Tomas

Tomas

Answer: D

output:
1:2:3:4:5:

psuwey

psuwey

D tutta la vita

giosefer

giosefer

Answer correct D!
With the following instruction: num1=num2, you are copying the references num2 into num1.

1)
num1 –> new int[2]
num2 –> 1 2 3 4 5

*** num1 = num2 ***

2)
num1 –> 1 2 3 4 5
num2 –> 1 2 3 4 5