Computers and Technology
Computers and Technology, 11.10.2021 14:40, jshu1998

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))

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:30, allierl2001
Felicia wants to become a head surgeon by december 2013. she designs the career milestones that she would need to complete her goal. by june 2013, she was not licensed. which best describes what she should do?
Answers: 2
image
Computers and Technology, 22.06.2019 17:30, kallee10
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, keviongardner
The next button in the review section shows the next available comment. next slide with no comment. previous comment. edited comment.
Answers: 1
image
Computers and Technology, 23.06.2019 03:10, nxusasmangaliso8780
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
Do you know the correct answer?
Project: Creating Packages In this project, you will create a set of related classes and bundle th...

Questions in other subjects:

Konu
Mathematics, 17.02.2021 18:00
Konu
Biology, 17.02.2021 18:00
Konu
Mathematics, 17.02.2021 18:00