What is Polymorphism??

Author Topic: What is Polymorphism??  (Read 902 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • We Helpline
What is Polymorphism??
« on: 02-13-2016, 00:40:01 »
Polymorphism allows a client to treat di_erent objects in the same way even if they were created from di_erent classes and exhibit di_erent behaviors. You can use implementation inheritance to achieve polymorphism in languages such as C++ and Java. Base class object's pointer can invoke methods in derived class objects. You can also achieve polymorphism in C++ by function overloading and operator overloading.


Related Topics

  Subject / Started by Replies Last post
4 Replies
Last post 04-17-2019, 00:35:54
by EugeneHill