From 21e0785c8308be5acba75738f4379115c3c32b5d Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 11 Jun 2015 10:14:43 +0200 Subject: Working on w16 --- .../camilstaps/webshop/article/WashingMachine.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java (limited to 'Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java') diff --git a/Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java b/Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java new file mode 100644 index 0000000..37325f5 --- /dev/null +++ b/Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2015 Camil Staps + */ +package com.camilstaps.webshop.article; + +/** + * + * @author camilstaps + */ +public class WashingMachine extends Article { + + public WashingMachine() { + super("Washing machine", 499); + } + + @Override + public double getShippingCosts() { + return 30; + } + +} -- cgit v1.2.3