@@ -0,0 +1,537 @@
+/**%0A * All tickets have a serial number and a price.%0A */%0Apublic abstract class Ticket %7B%0A    private int serialNumber;  // unique ticket id number%0A    private static int nextSerialNumber = 0;%0A%0A    public Ticket() %7B%0A        serialNumber = nextSerialNumber;%0A        nextSerialNumber++;%0A    %7D%0A%0A    // returns the price for this ticket%0A    public abstract double getPrice();%0A%0A    // returns a string with information about the ticket%0A    public String toString() %7B%0A        return %22Number: %22 + serialNumber + %22%5CnPrice: %22 + getPrice();%0A    %7D%0A%7D%0A

Create Ticket.java