filmov
tv
Polymorphism in C++ | Compile time vs Run time Polymorphism | C++ Programming

Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- In this video tutorial we will study the concept of Polymorphism in C++ and we will also understand the 2 types of polymorphism in c++.
The word polymorphism means having many forms.
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:
1) Compile time Polymorphism
2) Runtime polymorphism
1) Compile time polymorphism: This type of polymorphism takes place at compile time and is also known as static binding or early binding.
Compile time polymorphism can be achieved by -
a) Function overloading
b) Operator overloading
c) Templates
2) Runtime polymorphism:
This type of polymorphism takes place during the runtime and is also known as dynamic binding or late binding.
Runtime polymorphism can be achieved by -
a) Function overriding
Simple Snippets Official Website -
Simple Snippets on Facebook-
Simple Snippets on Instagram-
Simple Snippets email ID-
UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.
Contact via email /call / FB /Whatsapp for more info
We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course
Check us out on Social media platforms like Facebook, Instagram, Google etc
--------------------------------------------------------------------------------------------- In this video tutorial we will study the concept of Polymorphism in C++ and we will also understand the 2 types of polymorphism in c++.
The word polymorphism means having many forms.
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:
1) Compile time Polymorphism
2) Runtime polymorphism
1) Compile time polymorphism: This type of polymorphism takes place at compile time and is also known as static binding or early binding.
Compile time polymorphism can be achieved by -
a) Function overloading
b) Operator overloading
c) Templates
2) Runtime polymorphism:
This type of polymorphism takes place during the runtime and is also known as dynamic binding or late binding.
Runtime polymorphism can be achieved by -
a) Function overriding
Simple Snippets Official Website -
Simple Snippets on Facebook-
Simple Snippets on Instagram-
Simple Snippets email ID-
UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.
Contact via email /call / FB /Whatsapp for more info
We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course
Check us out on Social media platforms like Facebook, Instagram, Google etc
Комментарии