// How to create a Car class with member function get_color() #include class Car { std::string color; // private member public: std::string get_color() const {return color;}; Car(std::string col) {color=col;} // constructor ~Car(){std::cout<<"Car demolished\n";} // destructor }; int main() { Car cadillac("black_and_white"); // create a Car with a color Car ferrari("red"); std::cout<<"cadillac is "; std::cout<