abstract class
Solved
C++ Gurus
-
Dear all,
Is the following design correct (method2 is defined already in the abstract class which calls the virtual method1 which will be defined in a derived concrete class)?
class AbsClass {
virtual void method1() = 0;
void method2();
};
void AbsClass::method2() {
......
method1();
......
}
Weichao -
@Weichao-Wang said in abstract class:
Is the following design correct
Yes, it is.
You can very easy check that...