Why the value function getX() and getY() are printinf '0' after creating DDerived class OBJ

前端 未结 0 1639
忘掉有多难
忘掉有多难 2021-02-01 02:27

In my code there are 3 classes other than main class

  1. Base
  2. Derived
  3. DDerived

Base is inherited by Derived, Derived is inherited by DDe

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