Answers for "heredar constructor c++"

C++
0

heredar constructor c++

class Bar {
  public:
      Bar(int weight, int height);
}

class Computer: public Bar {
	public: 
	   Computer(int weight, int height): Bar(weight, height) {};
};
Posted by: Guest on May-29-2020

Browse Popular Code Answers by Language