Question: Provide the the in Java pleas. Provide the code in Java please. Everything is explained on that piece of paper I've got nothing more to
3. (60) In a sport center entrance, the object Oriented System charges for 2 types of customers TypeA: Subscriber, Type B: Guests. Every type of customer have subtypes like Type AA: Adult Subscriber Full Subscriber Charge, TypeAB: Child Subscriber Half Subscriber charge, TypeBA: Adult Guess Full Guest charge, TypeBB: Guess Child Half Guest charge. a) . Code the object-oriented design in Java. During your design, define a separate class for each type. b) + Add a Toll class with a payment accepting function to your design. Let this function be a single function that accepts all types of classes and charges according to the respective type class. c) - You are requested to report for management. Have the tollbooth class keep the Types that pass daily in an array. Write a new class for management and code a function that prints the total daily balance when requested. d) - In the future if you would like to add Student type of customer, therefore your code should be open for extension but close for modification. + Draw UML diagrams Write necessary Codes. 3. (60) In a sport center entrance, the object Oriented System charges for 2 types of customers TypeA: Subscriber, Type B: Guests. Every type of customer have subtypes like Type AA: Adult Subscriber Full Subscriber Charge, TypeAB: Child Subscriber Half Subscriber charge, TypeBA: Adult Guess Full Guest charge, TypeBB: Guess Child Half Guest charge. a) . Code the object-oriented design in Java. During your design, define a separate class for each type. b) + Add a Toll class with a payment accepting function to your design. Let this function be a single function that accepts all types of classes and charges according to the respective type class. c) - You are requested to report for management. Have the tollbooth class keep the Types that pass daily in an array. Write a new class for management and code a function that prints the total daily balance when requested. d) - In the future if you would like to add Student type of customer, therefore your code should be open for extension but close for modification. + Draw UML diagrams Write necessary Codes. 3.- (60) In a sport center entrance, the object Oriented System charges for 2 types of customers TypeA: Subscriber, Type B: Guests. Every type of customer have subtypes like TypeAA: Adult Subscriber Full Subscriber Charge TypeAB: Child Subscriber Half Subscriber charge, TypeBA: Adult Guess Full Guest charge, TypeBB: Guess Child Half Guest charge. a) Code the object-oriented design in Java. During your design, define a separate class for each type. b) + Add a Toll class with a payment accepting function to your design. Let this function be a single function that accepts all types of classes and charges according to the respective type class. T c) - You are requested to report for management. Have the tollbooth class keep the Types that pass daily in an array. Write a new class for management and code a function that prints the total daily balance when requested. d) - In the future if you would like to add Student type of Customer, therefore your code should be open for extension but close for modification. + Draw UML diagrams Write necessary Codes. 3.- (60) In a sport center entrance, the object Oriented System charges for 2 types of customers TypeA: Subscriber, Type B: Guests. Every type of customer have subtypes like Type AA: Adult Subscriber Full Subscriber Charge , TypeAB: Child Subscriber Half Subscriber charge, TypeBA: Adult Guess Full Guest charge, TypeBB: Guess Child Half Guest charge. a) Code the object-oriented design in Java. During your design, define a separate class for each type. b) + Add a Toll class with a payment accepting function to your design. Let this function be a single function that accepts all types of classes and charges according to the respective type class. T c) - You are requested to report for management. Have the tollbooth class keep the Types that pass daily in an array. Write a new class for management and code a function that prints the total daily balance when requested. d) - In the future if you would like to add Student type of customer, therefore your code should be open for extension but close for modification. + Draw UML diagrams Write necessary Codes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
