When sorting an array of objects, if the values in the data member being sorted on are out of order for two objects, it is necessary to
A) examine a different data member.
B) swap these two data values.
C) swap the entire two objects.
D) swap one-by-one all data members in the two objects.
E) stop the sort.
C) swap the entire two objects.
Computer Science & Information Technology