Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. private void listBids() {
  2. Dog dog = getDogFromUser();
  3. Auction auction = searchInAuction(dog);
  4. if (dog == null || auction == null) {
  5. System.out.println("Error: this dog is not up for auction");
  6. return;
  7. } else {
  8. auction.printBidList();
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement