Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int getPrice(){
- int price = 0;
- for(int i = 0; i < partLists().size();i++){
- price += partLists().get(i).getPrice();
- }
- return price;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement