Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package service;
- import domain.Customer;
- import domain.Pizzeria;
- public class Service {
- protected Customer customer;
- protected Pizzeria pizzeria;
- private int customerCounter = 0;
- public Service(){
- pizzeria = new Pizzeria("MyFancyShop");
- }
- protected void setCustomerCounter(int customerCounter){
- this.customerCounter = customerCounter;
- }
- protected int getCustomerCounter(){
- return customerCounter;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment