Question on Polymorphism unrelated classes with methods bearing the same name?

后端 未结 0 1174
执念已碎
执念已碎 2020-12-18 07:42

It is possible for methods in unrelated classes to exist, coincidentally bearing the same name/signature without having been inherited from another class or interface.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题