Comment on Tutorial - Method Overriding in Java By Henry



Comment Added by : Rams

Comment Added at : 2009-01-27 01:36:16

Comment on Tutorial : Method Overriding in Java By Henry
The Given Programms are not suitable for "How to solve Method Overriding " .Coz in 2nd model program,the overrided function Show( ) contains difference b/w super class show() and sub class show() ,the sub class show() contains a parameter String msg. but where as in method overriding method name,parameters & return type must be same...that's why please try to...give suitable example ..for method overriding....
Your's
Rams..


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. Thanks for the article. I finally finish my task a
View Tutorial          By: bali web at 2012-07-10 13:47:49

2. Good work, IT really help me a lot;
View Tutorial          By: TUSHAR at 2010-02-03 01:25:37

3. Awesome, I am Impressed with the way the example h
View Tutorial          By: Darshan at 2010-07-09 01:34:22

4. #include<iostream>
#include<conio.

View Tutorial          By: Zohaib Farooq at 2011-05-23 07:58:44

5. Hey guys it's working. If not then remove p.waitFo
View Tutorial          By: dileep at 2013-01-04 19:51:38

6. Thanks for the above description, but pls let me k
View Tutorial          By: Amit Goyal at 2009-09-25 05:33:10

7. Hi ,Razvan

I changed code as in you

View Tutorial          By: sanil at 2011-01-01 11:05:53

8. Hai all, there is som question plzzzz help me
View Tutorial          By: chandra at 2011-10-12 09:07:39

9. Hi all people...If i need to read a sms from the m
View Tutorial          By: Omarsi12 at 2009-09-06 17:11:15

10. Excellent example
View Tutorial          By: Dinesh Patil at 2012-06-19 08:30:48