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



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. hi,
when i run the code i got the exception

View Tutorial          By: arjun at 2014-09-18 10:25:18

2. can you clearly reveal how to create crystal repor
View Tutorial          By: halim at 2011-07-02 00:28:48

3. I do not understand this line:
Map.Entry me

View Tutorial          By: hap Og at 2011-11-03 01:42:33

4. thnx, 4 ur explanation, that was usefl
but

View Tutorial          By: some1 at 2009-04-28 03:26:28

5. This is the solution that I also used, however, th
View Tutorial          By: Rob Ingenthron at 2012-07-18 23:06:18

6. It must be the last thread to finish execution. Wh
View Tutorial          By: Abinash at 2013-07-16 06:37:11

7. Great!
View Tutorial          By: justauser at 2012-08-31 13:57:58

8. nice explanation.but one thing in retrieving proce
View Tutorial          By: venkateswarlu at 2013-04-06 09:03:46

9. if a class is declared as abstract and it contains
View Tutorial          By: nagaraj at 2012-04-25 17:12:30

10. hi ,
i am a beginner in java. please tell m

View Tutorial          By: aun at 2011-11-18 06:47:56