Click here to Skip to main content
14,667,185 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi everyone
plz give me yes or no
the Polymorphism is (function override and overload )
or not

or write class without code or implementation to leave a programmer to write the code
Updated 18-Nov-10 17:53pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

There are two types of polymorphysm in C++. One is dynamic (runtime) the other is static(static). Dynamic polymorphism in implemented by using virtual funtions and funtion overriding. Static polymorphism by using function overloading.
Mostafa Elsadany 19-Nov-10 0:01am
so a Polymorphism is (function override and overload )
Sandeep Mewara 19-Nov-10 1:13am
Well, as he said function override & overload is ONE type of polymorphism. You can not term entire polymorphism as just override/overload.
sunyongjie1984 19-Nov-10 3:07am
I strongly recommend you read c++ primer to find your answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100