Question
Draw a UML Diagram: 2. At a minimum, your diagram must show: a. All the classes, fields, and methods. Remember that you will need methods
Draw a UML Diagram: 2. At a minimum, your diagram must show:
a. All the classes, fields, and methods. Remember that you will need methods that accomplish appropriate functionality, not just getters and setters. b. The classes must be connected in an appropriate manner (with uses lines and extends arrows) c. You must include visibility (i.e., public or private), datatypes, return types, and any other pertinent information. d. Show the data structures (i.e. arrays or ArrayLists) your program needs to hold the important data.
Here is the program:
Gym Membership Management SystemDesign a system for a gym that allows the owner to keep track of the number of different types of members that are signed up. The system should allow trial memberships, 3-month memberships, and annual memberships. The system should keep track of users and what kind of membership they have. It should also keep track of whether the user has paid in full, or is paying monthly or is overdue in payment. For each user, the system should keep track of what types of activities the user prefers (weights vs. aerobic vs. spin classes vs. kickboxing, etc.) The gym provides different payment plans, such as monthly, annual or quarterly. Inheritance: 1. Membership is sub-classed by the various types of membership. 2. Payment plans is sub-classed by different types of plans.
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