题目内容:
a)Can a struct inherit from another struct?(结构体能继承结构体吗)
b)Can a struct inherit from another class?
(结构体能继承类吗)
c)Can a struct be the base of another class?
(结构体可以作为一个类的基类吗)
d)Can a struct implement an interface?
(结构体可以实现一个接口吗)
e)What’s the difference between struct and class?
(结构体与类有什么区别)
参考答案: