Given the following class and object declaration, how would you print out the age and cost of a bottle of wine? [4] class Wood { public: Wood(); int getAge(); float getcost(); private: int age; float cost; } Wood pine;

Q&A Education