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.
Java overloading vs overwriting. 1  You are basically correct. Overloading is having multiple methods in a single class where the method has the same name. 2  This will fail to compile. 3  As Rob identified, I believe you mean overriding, and you have that correct. Note with overriding, you cannot change the return type.