Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package nl.hva.ooad;
- public class Main {
- public static void main(String[] args) {
- MobileContractBuilder builder = new MobileContractBuilderImpl();
- MobileContract contract = builder.setNumber(900).setCustomerName("Marcio").setDataQuota(4000).setFreeDataRoaming(true).setInternationalCalls(true).build();
- System.out.println(contract);
- }
- }
Add Comment
Please, Sign In to add comment