+ 1
What is difference between Virtual class and non-virtual class in c++?
I'm a c++ learner. I'm confused regarding virtual class and non virtual class. Can someone explain the difference between Virtual and non virtual classes.
1 ответ
0
Virtual class has to have derieved classes. It cannot do anything by itself. Non virtual class is ready to make an instance from it.