Question: (language: java) Part I Various events can be described as follows: A Event class with the following: the year (XXXX: int type), month (YY:int type),


(language: java)
Part I Various events can be described as follows: A Event class with the following: the year (XXXX: int type), month (YY:int type), and the number of cities where it will be held (int type A Festival is an Event that in addition has the following: a name (String type- such as Arts, Beer, Comedy, Film, Fire, Folk etc), ticket price (double type), and duration:# of days (int type). A Culturalfiesta is a Festival that in addition has the following: the number of spoken languages (int type), which indicates the maximum languages spoken in this kind of festival A Musicfiesta is a Festival that in addition it has the following: number of bands (int type). A SportCompetition is an Event that in addition has the following: number of activitie (int type) - and season name (enumeration type that can be: summer,fall, winter, spring) A fair is an Event that in addition has the following: The number of exibitors (int type), and type (enumerator type that can be : career, science, trade, travel) Draw a UML representation for the above mentioned classes hierarchy. Your representation must also be accurate in terms of UML representation of the different entities and the relation between them. 1. You must use a software to draw your UML diagrams (no hand-writing/drawing is allowed) 2. Write the implementation of the above mentioned classes using inheritance and according to the specifications and requirements given below: You must have 4 different Java packages for the classes. The first package will include the Event class. The second package will include the Festival, Culturalfiesta, and Musicfiesta classes. The third package will include the SportCompetition class and the last package will include the Fair class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
