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



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. i got error for below line

xlApp

View Tutorial          By: Satheyaraaj at 2015-04-28 07:47:42

2. Suppose we are executing a try block and faced an
View Tutorial          By: Suindu De at 2015-10-08 10:56:56

3. I want to use concept of overriding and i want to
View Tutorial          By: Aniket at 2013-06-20 10:23:10

4. to know
View Tutorial          By: Parthasarathi.N at 2010-02-19 05:59:51

5. hai
i can run this program bt 1 exception

View Tutorial          By: Raheela at 2010-05-25 21:59:38

6. Hi,
I'm studying core java.java is new for

View Tutorial          By: shantkumar at 2011-12-01 17:02:26

7. Lots of thanks for this example
View Tutorial          By: Santosh at 2011-06-28 16:42:25

8. Very good
View Tutorial          By: dizh at 2014-02-21 07:48:19

9. Hello, I have executed the above code and it works
View Tutorial          By: Sana at 2010-02-01 03:50:18

10. how to append more items in multiple choice group
View Tutorial          By: GIRIDHARAN at 2013-03-25 19:05:09