Question: Safari ... @ 51% 2:06 PM Lab11_abstract interface READ ONLY - This is an older file format. To make changes, m...more Upgrade a copy University
Safari ... @ 51% 2:06 PM Lab11_abstract interface READ ONLY - This is an older file format. To make changes, m...more Upgrade a copy University of Pets Faculty of Information Technology Programming Language (2) Lab Number (11) Subject: Abstract & Interface Class. Lab Otto Saking problems using abstract keyword Lab e Errote: Given the following class hierarchy Club Interface Discount Discount_presentage 20.05 cale Discount double VisitorName String Find os double implements Fees: double Participation: String cal Discount double Find double PricePerlour double Housin Find os double Implement the classes knowing that o Club chassis an abstract class Participation can be weekly, monthly and for yearly o Fees depend on the participation type as follows: Fees LSID for weekly participation Fees.SOJD for monthly participation Fer1100D for yearly participation cak Discount return value of fees Discount presentage FindCoin Members class returns the feescale Discount) FindCost) in Guests class return the pricelertours hours Create a testing class that ask the user to determine the type of participation in a club whether Members of Guests Display in a nice form the content of the created object
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
