Consider the following abstract Ticket class. public abstractclass Ticket { private Date eventDate; // date of the show publicTicket(Date date) { eventDate = date; } public abstract doublegetPrice(); // returns the price of this ticket public StringtoString() { return “Date: ” + eventDate.toString() + “nPrice: ” +getPrice(); } }
This class was designed for the sale of theater tickets. As youprobably know, there are different ticket categories at thetheaters. For each question below , design and implement a concretesubclass, and provide a separate Java source file as yoursolution.
In addition to correctness and quality of design, in thishomework, you will also be
PayPal Gateway not configured
PayPal Gateway not configured