programplug Logo




C++ Polymorphism


Polymorphism is made by two words "poly" and "morphs".Polymorphism means ability to take more than one form "Many Forms Of Data".The behaviour depends upon the types of data used in operations.


#include 
class A 
{  
	public:void aa()
	{    
	 cout << "Hello...";    
	}      
};   
class B : public A    
{    
	public:void bb()    
	{    
	 cout <<"Hello C++...";    
	}    
};  
void main() 
{  
   B b = B();    
   b.bb();    
}  

output:
Hello C++...







Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
000000000

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy