Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int i=1;
- if(wrap.getFilling().equals(null)){
- System.out.println("NO FILLINGS");
- } else {
- for (wrap w: wrap.getFilling()) {
- System.out.println("FILLING " + i + ": " + w.getName() + " COST: £" + w.getCost());
- i++;
- }
- }
Add Comment
Please, Sign In to add comment