Multiple Choice
If a and b are both int arrays, then a = b will
A) create an alias
B) copy all elements of a into b
C) copy the zero element of b into the zero element of a
D) return true if each corresponding element of b is equal to each corresponding element of a (that is, if a[0]is equal to b[0], a[1] is equal to b[1]and so forth) and return false otherwise
E) return true if a and b are aliases and return false otherwise
Correct Answer:

Verified
Correct Answer:
Verified
Q27: The "off-by-one" error associated with arrays arises
Q28: If any int array, a, is passed
Q29: Given the following array declaration and instantiation,
Q30: In Java, arrays are<br>A) primitive data types<br>B)
Q31: Write a method to compute the average
Q33: Given the following declarations, which of the
Q34: Given the following statement, where CD is
Q35: A polyline object in Java is<br>A) an
Q36: So long as one is only accessing
Q37: Just as arrays can only have a