Click here to Skip to main content
15,064,665 members
Please Sign up or sign in to vote.
1.00/5 (1 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

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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900