The default equals implementation of class Object determines:
a. whether two references refer to the same object in memory.
b. whether two references have the same type.
c. whether two objects have the same instance variables.
d. whether two objects have the same instance variable values.
a. whether two references refer to the same object in memory.
You might also like to view...
Which Lasso tool is best for selecting areas of the canvas that are geometric in shape?
A. Lasso B. Magnetic Lasso C. Elliptical Lasso D. Polygonal Lasso
Assume the following environment
``` #define MAX 50 int a[MAX], i, j, temp; ``` What is the effect of the following program segment? ``` temp = 0; for (i = 1; i < MAX; ++i) if (a[i] > a[0]) ++temp; ``` a. Arranges the elements of array a in ascending order. b. Counts the number of elements of array a greater than its initial element. c. Reverses the numbers stored in the array. d. Puts the largest value in the last array position. e. None of the above.