What is polymorphism? What are its different types? Explain runtime polymorphism with an example
Answers
Answered by
1
In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form. ... Polymorphism is considered as one of the important features of Object Oriented Programming. In C++ polymorphism is mainly divided into two types: Compile time Polymorphism. Runtime Polymorphism.
Polymorphism in Java has two types: Compile time polymorphism (static binding) and Runtime polymorphism (dynamic binding). Method overloading is an example of static polymorphism, while method overriding is an example of dynamic polymorphism.
Polymorphism in Java has two types: Compile time polymorphism (static binding) and Runtime polymorphism (dynamic binding). Method overloading is an example of static polymorphism, while method overriding is an example of dynamic polymorphism.
Answered by
0
┏━━━━•❅•°•❈ ↶ •°•❅•━━━━┓
Here's your answer mate
┗━━━━•❅•°•❈ ↶ •°•❅•━━━━┛
Router ✍
☛ router is a communication device that is used to connect two different networks such as two LAN or wan it chooses the best route for the data packets to be sent from the sender to receiver.
Repeater ✍
☛ A Repeater is a communication device used to read and write a signal repeaters are needed to that the signal can travel longer distances with same strength.
✤Hope it helps❢❢
⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝ ⚝
Similar questions
English,
7 months ago