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



Ask a Question

Subscribe to Tutorials

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. sir ji,
i want do learn for loop in java an

View Tutorial          By: Prabhakar at 2009-11-06 00:48:53

2. i want the database connectivity for telephone bil
View Tutorial          By: rohan at 2015-04-05 05:01:46

3. Hello,
I have downloaded this code

View Tutorial          By: Parthasarathi at 2009-09-21 02:09:49

4. DON'T USE GETS!!!!!!!!!!!!!!! IT'S DANGEROUS!
View Tutorial          By: Caterpillar at 2012-04-23 13:22:42

5. <uses-permission android:name="android.per
View Tutorial          By: Dev at 2012-04-06 06:19:03

6. it is a good example to understand.
View Tutorial          By: nivedha at 2011-07-12 05:15:39

7. sir, i want if,if else,nested if..... concept in o
View Tutorial          By: krishna at 2015-08-14 08:58:01

8. how to code for images hitting in jsp like googl
View Tutorial          By: Kumaravel at 2014-08-06 11:23:08

9. i want to study java
View Tutorial          By: doshyo at 2007-12-13 07:41:03

10. In my Midlet class there is a constructor which i
View Tutorial          By: nicolas at 2011-11-12 21:35:58