Page 1340 - AP Computer Science A, 7th edition
P. 1340

29. (E) Eliminate choices A and B: When comparing Book objects, you cannot use simple inequality operators; you must use compareTo. For the calling object to be less than the parameter object, use the less than 0 test (a good way to remember this!).


































































































   1338   1339   1340   1341   1342