首页题库练习题目详情
计算机基础与程序设计单选题中等

在C++中,下列哪项可以实现类之间的复用?

A结构体(struct)
B继承(inheritance)
C枚举(enum)
D模板(template)