📜  C plus plus 中的继承示例 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.871000             🧑  作者: Mango

代码示例1
class A {
        //statements of class A
};
class B:public A {                  //inherting class B from class A
      //statements of class B
};