Vikram Singh
Example of Polymorphism in OOPS
By Vikram Singh in OOP/OOD on Jun 01 2012
  • masthan p
    Dec, 2012 2

    polymorphism classified into two types1. compile time polymorphism for example method voerloading 2. run time polymorphism for example method overriding

    • 0
  • Mandar Desai
    Jul, 2012 5

    In object-oriented programming, polymorphism is a generic term that means 'many shapes'. (from the Greek meaning "having multiple forms"). Polymorphism is briefly described as "one interface, many implementations." polymorphism is a characteristic of being able to assign a different meaning or usage to something in different contexts - specifically, to allow an entity such as a variable, a function, or an object to have more than one form. There are two types of polymorphism 1) compile time polymorphism Compile time polymorphism is functions and operators overloading. 2) Run time polymorphism. Runtime time polymorphism is done using inheritance and virtual functions.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS