Given the following class definition, what is missing?
class ItemClass
{
public:
ItemClass(int newSize, float newCost);
int getSize();
float getCost();
void setSize(int newSize);
void setCost(float newCost);
private:
int size;
float cost;
};
a. nothing
b. a default constructor
c. accessor functions
d. mutator functions
b. a default constructor
You might also like to view...
Windows uses a memory-management technique known as ________ to monitor which applications you use most frequently. It preloads them into your system memory
A) SuperFetch B) SuperGet C) SuperRetrieve D) SuperTake
Which of the following is TRUE about the Recent Documents list in Office 2013?
A) It constantly changes. B) It is accessed from the Home tab. C) All files located on your hard drive can be accessed from it. D) It can be quickly accessed with the F10 key.