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. how to solve this problem

javax.com

View Tutorial          By: rajani at 2009-07-18 05:44:55

2. Good one......
Thanks.

View Tutorial          By: Suresh at 2013-03-14 07:38:45

3. Please, if it is incomplete, can you please send m
View Tutorial          By: Marcio at 2009-03-01 09:06:45

4. The above code given for sending SMS through your
View Tutorial          By: ROHAN at 2008-10-17 00:55:46

5. awesome .i really like this site. thankyou .......
View Tutorial          By: Ramesh at 2013-03-13 15:08:54

6. Great tutorial. THX.
View Tutorial          By: Velvetin at 2009-03-21 11:05:19

7. help to place a menu inside a menu
View Tutorial          By: sandy at 2009-07-29 05:57:28

8. really a nice tutorial for beginners...Thanks a lo
View Tutorial          By: ps at 2013-02-26 09:28:53

9. In the above example..where you make the GC1 objec
View Tutorial          By: prasad at 2014-12-11 11:12:28

10. Useful info
View Tutorial          By: valli at 2014-10-27 10:56:58