The overloading operators means making operator symbols which are known to the compliler work with absract data types defined by programmer.Operaters such as the Arithemetic Operators"+",-","*" and"/" have certain fixed meaning to the compile-they can be used with the various numeric data types such as int and float.
If wecrate new data types for use in our programs,then w can also use these symbols to mean operatuins on our own data types>Even through the compiler does not automatically recognize them this is made possible in object orianted language by overloading the meaning of an operator.So that its behaviout can be polymorphic.More
Monday, August 10, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment