Fill in the blank to make this code compile: A. compare(Truck t) B. compare(Truck t1, Truck t2)

Question:

Fill in the blank to make this code compile: 

image text in transcribed

A. compare(Truck t)

B. compare(Truck t1, Truck t2)

C. compareTo(Truck t)

D. compareTo(Truck t1, Truck t2)

E. None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: