c++ programming The Class Battery represents some kind of charged electrical unit. The instances doubleA and nineVolt were created by saying By default, a battery that holds 1.5 volts Battery doubleA; A battery holding 9 volts Battery nineVolt Each Battery can be manipulated by the user and perhaps even stores a charge. For the constructors shown above, here is the class definition (.h) Class Diagram Class Definition (.h file) class Battery public: Battery Battery : Battery (int volts ); void startRunning() void stopRunning); bool isCharged() const; void charge); void uncharge); Battery 0; Battery int volts) void startRunning); void stopRunning); bool isCharged) const; void charge ); void uncharge ); private: bool isCharged double myVolts; double myVolts; bool isCharged; Solution TransistorRadio.h class ------------------------------------------ class TransistorRadio { public: TransistorRadio(); void turnOn(); void turnOff(); private: bool radioOn; } ---------------------------------------------------------------------------------- class file -------------------- class TransistorRadio :: Battery{ //constructor TransistorRadio::TransistorRadio(){ isCharged = true; myVolts = 1.5; } //methods void TransistorRadio::turnOn{ radioOn = true; } void TransistorRadio::turnOff{ radioOn = false; } } .