Sometimes we want to use the private members of class outside. For this, we need to use the keyword friend, which help us to create a function as friend function and helps us to create a class as friend class.
Friend Class:
Sometimes we want to use the private members of class outside. For this, we need to use the keyword friend, which help us to create a function as friend function and helps us to create a class as friend class. When we declare any function or any class as friend that means we can use the private members of class outside by the non-members of class.

Polymorphism:
Polymorphism is very important feature of object-oriented programming. The name polymorphism has taken from the Latin language as polymorphous. It means one name multiple forms. In this concept we can have number of different concept like function overloading, operator overloading, constructor overloading, early binding or static linkage or static binding or compile time polymorphism, dynamic binding or late binding, run time polymorphism or dynamic linkage.

Classification of Polymorphism:
- Compile Time Polymorphism
- Run Time Polymorphism
Compile Time Polymorphism:










21 Responses
Serious article.
Good article!
Out of my depth but very interesting
Very interesting! Like it!
Did not understand it too much, but very informative..It will help someone out there I am sure
Like Geoge firth Put it out of my depth but it is interesting what programmers deal with
good article
Once again I am lost.
I am so lost but I’m sure it will be very helpful for some.
You really are a genius on this topic
nice article
i have to go back to my programming lessons to analyze ur topic …but thanks..
very helpful… thank you
Looks good but wish I understand this better.
Interesting.
Very nice
I think that you are master in C++. I read your some programming articles. All articles are easy and interesting to understand. Keep on publishing more and more.
looks like you’re a C++ genius…
Thanks for the information..very useful
Definitely useful!
Good Work
Interesting
Best Regards