Question
Create UML Class Diagram and Java code based on the information provided below: (Please solve it quickly, I will give good credit) Use any random
Create UML Class Diagram and Java code based on the information provided below: (Please solve it quickly, I will give good credit)
Use any random details you want
Imagine that we have different types of students (elementary school students, middle school students, and high school students). Every student can get from his/her house to a school via certain public transport depending on his/her class level. Elementary school students can only take a bus, for a middle school student it is allowable to take the train and a high school student can even use a taxi. Students are allowed to take different sport classes in their school, yet strict rules are applied across all schools with respect to students school type. Elementary school students are not allowed to take any sports class. Middle school students can take no more than 2, and high school students can take no more than 4 sport classes per year. Keep in mind that students grow (e.g. from elementary school to middle school), and then your code should consider this dynamic behavior using appropriate code logic. You can imagine any kind of variables and methods for your classes, yet they should make sense within the discussion domain, and please use meaningful variable and method names. Define changeable and unchangeable behavior based on the text and your own imagination (be explicit with your assumptions).
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