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



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Was useful
View Tutorial          By: Vasan at 2008-06-22 05:04:20

2. Thanks Friend it was very helpfull.
View Tutorial          By: UMAR FAROOQ at 2015-03-01 07:46:43

3. abstract class A {
abstract void callme()

View Tutorial          By: satish at 2012-04-07 10:35:38

4. Well the code is good but what if students start e
View Tutorial          By: nitin kumar sharma at 2015-07-15 06:58:18

5. thanku verymuch. very helpfull
View Tutorial          By: praveen at 2010-08-05 06:04:35

6. nice
View Tutorial          By: ravi at 2010-11-26 02:46:56

7. I am using my samsung s5233 via usb connection, ru
View Tutorial          By: Puneet at 2010-04-23 06:14:28

8. java use real world object ............
View Tutorial          By: yunus khan at 2012-12-07 08:24:47

9. Its a peshak site
View Tutorial          By: SANIJ at 2010-01-06 22:40:31

10. sir can this be the role of java in internet if no
View Tutorial          By: shantanu khanduri at 2012-05-28 07:00:11