We want to compare bugs by the number of legs. however, if two bugs have the same number of legs, we will use their weight as a tie breaker. rearrange the following lines of code to produce the compareto method. not all lines are useful.



Answer :