Question: Suppose you have a method that takes as its parameters two integer arrays datal and data2 of the same length and it copies all the

Suppose you have a method that takes as its parameters two integer arrays datal and data2 of the same length and it copies all the data from datal to data2 and then clears datal (that is, it sets all the values in datal to 0). What would happen if someone invoked this method and passed in the same array for both arguments rather than passing in two distinct arrays
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
