The development team of SoftSols Inc. analyzes the source code of the existing software and notes the following observations:
The software contains a private class, named bookTickets, that contains the methods used to perform ticket bookings for various flights.
There is no class or function that can be used to check the maintenance details of FlyHigh's aircrafts.
Based on the preceding observations, the development team decides to perform the following tasks:
Reuse the functions of the bookTickets class in a new class, named bookETicket, to add the feature of e-ticket booking.
Create a new class named viewMaintenance that allows the maintenance personnel of FlyHigh
Airlines to view the maintenance details of aircrafts.
Write the code snippet that the development team should use to accomplish each of the preceding tasks.