Solved

Consider the Following Code Segments

Question 53

Essay

Consider the following code segments:
class Person
{
private:
int idNum;
string lastName;
string firstName;
public:
void setFields(int, string, string);
void outputData();
};
class Customer : public Person
{
private:
double balanceDue;
public:
void setBalDue(double);
void outputBalDue();
};
void Customer::outputBalDue()
{
cout
What error does the outputBalDue() function have?

Correct Answer:

verifed

Verified

Programs that use the function cannot ru...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions