Polymorphism is a runtime behavior:
because the program can only decide which object's method to call when the program is running
Is polymorphism a compile-time behavior or a runtime behavior?
Guess you like
Origin blog.csdn.net/Mr_zhang66/article/details/112725328
Recommended
Ranking