Flight Ticket OOP Design

Asked at Zoox · Coding Questions · Difficulty: Medium

Design an object-oriented program for a flight ticket booking system. The system should support: adding flight information, booking tickets, canceling bookings, and querying ticket status. Design the class structure and provide interface details and sample code for each function.

Loading the problem…