Get Answers to all your Questions

header-bg qa

What is Polymorphism ?

Answers (1)

best_answer

Polymorphism is a concept of Object-oriented programming.

It is an ability of a message to be displayed in more than one form.

Poly means many and morphs means form.

It allows us to perform a single action in different ways.

In JAVA, polymorphisms can be achieved in two ways: 

  • Compile time Polymorphism
  • Runtime Polymorphism
Posted by

Deependra Verma

View full answer