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, 22.06.2019 04:30
There is a simple pattern for determining if a binary number is odd. what is it and why does this pattern occur? how many bits would you need if you wanted to have the ability to count up to 1000? how high could you count in binary if you used all 10 of your fingers as bits? (finger up means 1, finger down means 0)
Answers: 3
question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
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
Physics, 18.02.2021 20:40
question
Mathematics, 18.02.2021 20:40
question
Mathematics, 18.02.2021 20:40
question
Spanish, 18.02.2021 20:40
Questions on the website: 13722361