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 -05:00

回到话题: Classes and Interfaces ---When and where

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论