Good summary about abstract class and inteface. But to add one point more

jfhuang (Zigzag)
while muliti-inheritence is allowed to be directly derived from several super classes(the pure virtual class included) in c++, you have to implement the same mulit-inheritence only by use of the interface.
2001-2-26 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Classes and Interfaces ---When and where

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论