What is polymorphism, what is it for, and how is it used?

前端 未结 28 2817
南笙
南笙 2020-11-21 07:08

What is polymorphism, what is it for, and how is it used?

28条回答
  •  忘掉有多难
    2020-11-21 08:04

    In object-oriented programming, polymorphism refers to a programming language's ability to process objects differently depending on their data type or class. More specifically, it is the ability to redefine methods for derived classes.

提交回复
热议问题