In a class definition, what line of code would create a default constructor to initialize the two parameters (fltNum and fltMiles) of class Flight to 0 for both values?
Any insights on what I think it is…Code:
class Flight
{
// The default constructor
Flight() {
fltNum = fltMiles = 0;
};
//...
}; // end class Flight
Thanks