Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 put it here. (Don't have output as well)
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started