C++ Polymorphism : Is it possible to use a function from a double derived class into the base class?

前端 未结 0 1304
轻奢々
轻奢々 2020-11-28 21:00

I\'m new to polymorphism and I\'m trying to learn how this exactly works . I want for example to get the print() function of class Y and use it in the base class . Is this p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题