subject

Project: Creating Packages 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:

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

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

3. Create a package to bundle your classes. Write source code files for the classes in your package.

4. Write a summary that describes the logic and rationale behind your classes and how they could be used in a program. Include a breakdown of the package source files and example statements for importing the full package and separate package elements.

Assignment Guidelines

Write your summary and the code for the parent class and new classes in one document. Write the package source files in separate documents, and include comments in the code indicating the name of each source file. Remember to indent and align your code to make it easy to follow. Be sure to desk check your code, as you are not compiling it.

(on edgnuity (HURRY QUICK, BRAINLIEST ANSWER FOR WHOEVER ANSWERS FIRST))

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
You know the right answer?
Project: Creating Packages In this project, you will create a set of related classes and bundle th...
Questions
question
Advanced Placement (AP), 09.04.2021 09:40
question
Computers and Technology, 09.04.2021 09:40
question
Mathematics, 09.04.2021 09:40
question
Mathematics, 09.04.2021 09:40
question
Mathematics, 09.04.2021 09:40
Questions on the website: 13722360