Answered You can hire a professional tutor to get the answer.

QUESTION

Add a getUnsold method to the Action class with the following header.

Add a getUnsold method to the Action class with the following header.

public ArrayLIst<Lot>getUnsold()

This method should iterate over the Lots field, storing unsold lots in a new ArrayList local variable. what you are looking for is Lot objects whose highestBitd field is Null. at the end of the method, return the list of unsold lots.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question