subject

In this project, you will create a set of related classes and bundle them into a package. Think of a parent class category that will support multiple variables and methods. For example, a MovieTheater class that has variables for ticket and popcorn prices, student discount days, and a method to calculate a discount. Then create specific classes based on your parent class, and modify them as necessary. Finally, create a package to contain all your new classes. You will not run the classes, so create them in a text editor.
Directions:

Write code for a parent class that contains at least three variables of at least two types, and at least one method.

Create at least three new classes based on your parent class, and modify the objects they contain as needed.

Create a package to bundle your classes. Write source code files for the classes in your package.
it should be done in replit. it
I need it fast

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
question
Computers and Technology, 23.06.2019 03:10
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e.g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
You know the right answer?
In this project, you will create a set of related classes and bundle them into a package. Think of a...
Questions
question
History, 28.06.2019 08:20
Questions on the website: 13722361