Computer Science, asked by saranshsgtbbca3c, 3 months ago

Which of the following explains Polymorphism?
Options
int func(int, int), float func1(float float);
O int func(int); int func(int);
int func(float); float func(int, int, char);
O int func(); int new_func();

Answers

Answered by bhoopathipotala
1

Answer:

float func1

Explanation:

Answered by steffiaspinno
2

int func(float); float func(int, int, char);

Polymorphism

  • It refers to the fact that something exists in multiple forms.  
  • In simple terms is the ability of a message to be displayed in multiple formats.
  • It is one of the most significant characteristics of Object-Oriented Programming.  
  • Polymorphism permits us to carry out the same activity in multiple ways.  
  • It, in other terms, allows us to specify a single interface with various implementations.  
  • The word "poly" refers to many, and "morphs" refers to forms.  
  • Thus, polymorphs mean "many forms."

Types

  • Compile-time Polymorphism
  • Runtime Polymorphism
Similar questions