Sunday, December 26, 2004 10:13 PM
In a nutshell, polymorphism means overloading and overriding.
overloading is static( methods with same name but different signature inside a single class )( eg.):
int funtion( void );
int function( int, int );
overiding is dynamic( methods with same name and same signature in base and derived classes( eg. )
base class has a method int function( void );
derived class also has a method: int function( void );