[Types of Polymorphism in C++] [C++ Tutorial in Tamil]-2023

  Рет қаралды 367

Programming Tutor Tamil

Programming Tutor Tamil

Күн бұрын

Object Oriented Programming C++: POLYMORPHISM & TYPES | C++ Tutorial for Beginners in Tamil
Polymorphism in C++ in Tamil| runtime polymorphism vs compile time polymorphism
C++ | C++ in Tamil| C++ Tutorial in Tamil| C++ Tutorial for Beginners| C++ Tutorial for Beginners in Tamil| C++ Playlist| C++ Full Course
What is Polymorphism in C++?
------------------------------------------------
Polymorphism in C++ means, the same entity (function or object) behaves differently in different scenarios.
Consider this example:
The “ +” operator in c++ can perform two specific functions at two different scenarios i.e when the “+” operator is used in numbers, it performs addition.
int a = 6;
int b = 6;
int sum = a + b; // sum =12
And the same “+” operator is used in the string, it performs concatenation.
string firstName = "Great ";
string lastName = "Learning";
// name = "Great Learning "
string name = firstName + lastName;
Types of Polymorphism in C++
-------------------------------------------------
1. Compile Time Polymorphism
------------------------------------------------
In compile-time polymorphism, a function is called at the time of program compilation. We call this type of polymorphism as early binding or Static binding.
Function overloading and operator overloading is the type of Compile time polymorphism.
II. Operator Overloading
-----------------------------------------
Operator overloading means defining additional tasks to operators without changing its actual meaning. We do this by using operator function.
The purpose of operator overloading is to provide a special meaning to the user-defined data types.
The advantage of Operators overloading is to perform different operations on the same operand.
00:30 What is Polymorphism
03:20 Types of Polymorphism
04:30 Function Overloading and Operator overloading
08:20 Function Overriding and virtual function.
🔔 SUBSCRIBE OUR KZbin CHANNEL:
/ @programmingtutortamil...
🔔 Play List: 💯
✔C++ Programming Course Playlist:
• C++ TUTORIAL FOR BEGIN...
✔C Programming Course Playlist:
• C PROGRAMMING TUTORIAL...
✔C Conditional Statement Playlist:
• TYPES OF CONTROL STATE...
✔C Operators Playlist:
• TYPES OF OPERATORS IN ...
✔C Pointers Playlist:
• TYPES OF POINTERS IN C...
✔C Loops Playlist:
• Playlist
✔C Arrays Playlist:
• Playlist
✔C Function Playlist:
• Playlist

Пікірлер
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 38 МЛН
Зу-зу Күлпаш 2. Интернет мошенник
40:13
ASTANATV Movie
Рет қаралды 363 М.
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 36 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 13 МЛН
Introduction to Inheritance | C++ in Tamil | Logic First Tamil
9:20
Logic First Tamil
Рет қаралды 15 М.
C++ Programming - 45 | Introduction to Polymorphism | Tamil
10:28
"This Pointer" in C++ Programming (tamil) /C++ Program for This Pointer (tamil)
10:06
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 38 МЛН