subject

The purpose of this exercise is to model the types of tickets that might be sold for campus events. all tickets will have strings for the venue, event name, and date. each ticket will also have a base price. create an abstract class ticket with the following constructor: public ticket(string venue, string event, string date, double baseprice) provide getters for the venue, event, date and baseprice provide a method int getnumberofholders() that returns 1. provide a tostring method provide an abstract method to return the actual cost of this transaction double getprice() create a subclass advanceticket for tickets bought in advance at a discount. the constructor for advanceticket should be public advanceticket(string venue, string event, string date, double baseprice, double discount). the discount value is a ratio for reducing the baseprice of the ticket.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Brian wants to conduct an online search with a certain phrase. he intends to use the words books that belong to the 1800s in his search. how should he use the word that in his search?
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
Will do anything for brainlest so can you guys me out i will try my best to you out
Answers: 1
question
Computers and Technology, 25.06.2019 02:00
Software and services are used to conceive, plan, and execute projects in any field. these tools are excellent methods of increasing the probability of successful projects. open source linux project management mind-mapping
Answers: 2
You know the right answer?
The purpose of this exercise is to model the types of tickets that might be sold for campus events....
Questions
question
History, 04.09.2020 23:01
question
Computers and Technology, 04.09.2020 23:01
question
Mathematics, 04.09.2020 23:01
question
Mathematics, 04.09.2020 23:01
question
Mathematics, 04.09.2020 23:01
question
Mathematics, 04.09.2020 23:01
question
Physics, 04.09.2020 23:01
question
Mathematics, 04.09.2020 23:01
Questions on the website: 13722367