Question: create a uml diagram including these codes namespace MyPart } internal class Booking } private int booking _ id; private string date; private Flight flight;

create a uml diagram including these codes
namespace MyPart
}
internal class Booking
}
private int booking_id;
private string date;
private Flight flight;
private Customer customer;
public Booking(int id, Flight flight, Customer customer)
{
booking_id = id;
date = DateTime.Now.ToString(@"MM/dd/yyyy h:mm tt");
this.flight = flight;
this.customer = customer;
create uml diagram
using System;
using System.Collections.Generic;
using System.Ling;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
Enamespace MyPart
}
internal class Booking
}
private int booking_id;
private string date;
private Flight flight;
private Customer customer;
public Booking(int id, Flight flight, Customer customer)
{
booking_id = id;
date = DateTime.Now.ToString(@"MM/dd/yyyy h:mm tt");
this.flight = flight;
this.customer = customer;
No issues found
|sing MyPart;
Enamespace comp2129_assignment2
{
internal class Program
{
//STATIC coordinator and managers here
static CustomerManager customerManager;
static FlightManager flightManager;
static BookingManager bookingManager;
static FIleIO fileIO;
static Coordinator coordinator;
static bool full_exit = false;
/*TODO:
|*1. Implement choice processing (DONE)
Write a QUICK FRAMEWORK LOGIC (DONE?)
2.1 On submenus, when choosing invalid choices, program
Hook up all back-end classes
Implement fileIO (use a different external class)
*/
static int getMenuChoice(int range)
{
Noiscurs int rhnire ==0.
No issues found
|sing System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
Enamespace comp2129_assignment2
}
internal class FlightManager
}
private Flight[] flightList;
private int numFlight;
private int maxFlight;
public FlightManager(int max)
{
this.numFlight =0;
this.maxFlight = max;
this.flightList = new Flight[max];
}
public Flight[] getFlightList(){ return this.flightL_ist;
nuhl in int notNumFl inhter) & noturn thic numEl inht. }
No issues found
Damespace comp2129_assignment2
internal class Flight
}
private int flightNumber;
private string flightOrigin;
private string flightDestination;
private int flightMaxSeats;
private int numPassengers;
public Flight(int flightnum, string flightorg, string fl
this.flightNumber = flightnum;
this.flightOrigin = flightorg;
this.flightDestination = flightdest;
this.numPassengers = passnum;
if (numPassengers = maxseats)
No issues found
Enamespace comp2129_assignment2
internal class Flight
private int flightNumber;
private string flightOrigin;
private string flightDestination;
private int flightMaxSeats;
private int numPassengers;
public Flight(int flightnum, string flightorg, string fligh
this.flightNumber = flightnum;
this.flightOrigin = flightorg;
this.flightDestination = flightdest;
this.numPassengers = passnum;
if (numPassengers = maxseats)
create a uml diagram including these codes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!