Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Purpose: The purpose of this assignment is to practice class inheritance, and other Object Oriented Programming concepts such as constructors, access rights, method overriding, etc.
Purpose: The purpose of this assignment is to practice class inheritance, and other Object Oriented Programming concepts such as constructors, access rights, method overriding, etc. The assignment would also allow you to practice the notion of package creation. This assignment contains two parts. You need to complete part I to be able to do part II. You have been hired by the metropolitan events planning office to write a software application that helps the office manage the year around events 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:# o 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)
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