结构中的多态性 [英] Polymorphism in struct
本文介绍了结构中的多态性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我相信这是一个低级问题,但我无法找到这个问题的答案。
我认为struct不支持多态,但我的高级(在一次采访中)说它是可能的。
可以有人请告诉我吗?
提前致谢
Hi,
I am sure it is a low level question but i am not able to find the answer to this qustion.
I am of the opinion that struct dont support polymorphism but Senior of mine(in an interview) says it is possible.
Can someone please tell?
Thanks in advance
推荐答案
为什么不学习文档 [ ^ ]?
这篇关于结构中的多态性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文