summaryrefslogtreecommitdiff
path: root/oop/09-polymorphism/PremiumCustomer.java
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-02-22 19:43:58 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-02-22 19:43:58 +0530
commitbaaba4a281b7d54e6b5d7767989c303b854b6932 (patch)
tree16201b64e9c8f20d7fa394c715f4ca5df51e9e08 /oop/09-polymorphism/PremiumCustomer.java
parentae4cf7c9f0a0b90d02166b43402e67b7d4ad4dca (diff)
Directory rename
Diffstat (limited to 'oop/09-polymorphism/PremiumCustomer.java')
-rw-r--r--oop/09-polymorphism/PremiumCustomer.java43
1 files changed, 0 insertions, 43 deletions
diff --git a/oop/09-polymorphism/PremiumCustomer.java b/oop/09-polymorphism/PremiumCustomer.java
deleted file mode 100644
index a098af5..0000000
--- a/oop/09-polymorphism/PremiumCustomer.java
+++ /dev/null
@@ -1,43 +0,0 @@
-public class PremiumCustomer extends Customer {
-
- private String category;
- private String desction;
-
-
- public PremiumCustomer() {
- }
-
- public PremiumCustomer(int customerNumber, String name, String address,
- String phone, String mobile) {
- super(customerNumber, name, address, phone, mobile);
- }
-
-
- public PremiumCustomer(int customerNumber, String name, String address,
- String phone, String mobile, String category, String desction) {
- super(customerNumber, name, address, phone, mobile);
- this.category = category;
- this.desction = desction;
- }
-
- public PremiumCustomer(String category, String desction) {
- super();
- this.category = category;
- this.desction = desction;
- }
-
- public String getCategory() {
- return category;
- }
- public void setCategory(String category) {
- this.category = category;
- }
- public String getDesction() {
- return desction;
- }
- public void setDesction(String desction) {
- this.desction = desction;
- }
-
-
-}