Question
JAVA Language Application Development using Object Oriented Paradigm: A Case Study Problem Statement: The Gymnasium Management System (GMS): Description: GMS is a gymnasium management system
JAVA Language
Application Development using Object Oriented Paradigm: A Case Study
Problem Statement:
The Gymnasium Management System (GMS):
Description:
GMS is a gymnasium management system that helps any gym receptionist or help desk staff to manage the gym members accounts by:
1) registering members who can be singles or families
2) applying special discounts to some members
3) Registering members in physical activity classes and services
4) Displaying invoices and related search results.
The GMS has two types of members: single and family. The member class is a super-class abstract that has the common attributes and methods in all types of members.
The two sub-classes SingleMember and FamilyMember each extends the superclass and define other more specific attributes and methods. The gym system also offers many Services (abstract class) that can be divided into two subclasses Class (e.g., cardio, and cycling) and Amenity (e.g., swimming-pool, and steam-room).
After adding the members and services to the system. The help desk staff would be able to register any member in any services. The help desk staff are also able to apply a special discount on some memberships if the member is registered for 10 years or more. The gym Also offers the VIP costumers additional discount in some of classes only.
Keeping the above-mentioned problem statement, explain the following 3 steps in detail
- You need to discover all the classes from problem statement. [1 mark for discovering the classes from the problem statement given]
- Find out the methods associated with all the classes. [2 marks for the methods associated with the classes from the verbs of the problem statement]
- Create the CRC cards for all the classes found from the problem statement. [2 marks for creating all scenarios of CRC]
You should keep in mind that there are many ways to solve this problem statement. Be creative and provide detailed solution to the problem.
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