Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi

Can anybody say me the difference of polymorphism in c++ and pascal .

Thank you .
Posted

1 solution

Pascal is basically monomorphic: you can't define polymorphic functions or procedures. However, some of the built in functions are polymorphic (+, -, * and / for example). However, this is also true of FORTRAN so it isn't really a good example!

There is a document here which does talk about this: http://webcourse.cs.technion.ac.il/234319/Spring2007/ho/WCFiles/05-Polymorphism.pdf[^] Search for Pascal and you will see.
 
Share this 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