Mary Ann Hainsworth, started working as a Resource Conservationist under the ACES Program in January of 2011 after retiring from NRCS. She provides assistance for the Wellington Field Office with everything from staking in the field to conservation contract support.
It is convenient to overload commonly used functions to work with objects of your class. For example, suppose that a class defines a property that stores data that you often graph. The MyData bar method has the same name as the MATLAB bar function. However, the MyData bar method requires a MyData object as input.
Polymorphism feature allows the user to handle different data types and functions with a uniform interface. A function that can evaluate to or be applied to values of different types is known as a polymorphic function. Polymorphism and Overloading are two types of functions that are used in OOP (object-oriented programming). These are often confused as synonyms because of their similarity in functioning. However, these two are different functions and are used to yield different results.