Programming Tutorials

Comment on Tutorial - Method Override sample in Java By Ganesh Iyer



Comment Added by : rizvaankhan

Comment Added at : 2011-10-10 13:13:36

Comment on Tutorial : Method Override sample in Java By Ganesh Iyer
if u need simple definition then that are

Overriding Function:
Function having same name, data types in parameters but with different definition and contained in different class(child).

When overriding function is called in child class, it overrides that function from parent class.
withdraw function is present in parent class and child class. Overriding means, when withdraw function is called, the function present in Child class will be executed rather than function in parent class.

by rizvaankhan


View Tutorial