aboutsummaryrefslogtreecommitdiff
path: root/Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java
diff options
context:
space:
mode:
authorCamil Staps2015-06-11 10:14:43 +0200
committerCamil Staps2015-06-11 10:14:43 +0200
commit21e0785c8308be5acba75738f4379115c3c32b5d (patch)
tree05fe0cd615e95e32e9656e88c44ff4e4d144d37c /Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java
parentStart w16 webshop (diff)
Working on w16
Diffstat (limited to 'Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java')
-rw-r--r--Week16 Webshop/src/com/camilstaps/webshop/article/WashingMachine.java21
1 files changed, 21 insertions, 0 deletions
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;
+ }
+
+}