Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public void printBidList() {
  2. for (int i = 0; i < bids.size(); i++) {
  3. if (bids.get(i) == null) {
  4. System.out.println("No bids registered yet for this auction");
  5. return;
  6. }
  7. System.out.println("Here are the bids for this auction");
  8. System.out.println(bids.get(i));
  9.  
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement