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 am a B. Tech. (ECE) student, can i also give scj
View Tutorial          By: Sneha Agarwal at 2013-07-11 08:10:17

2. I am looking for a J2ME programmer that can create
View Tutorial          By: Gary Wallis at 2007-10-14 15:35:00

3. Muchas gracias por compartir informacion. :)
View Tutorial          By: Anonymous at 2009-05-21 08:48:47

4. Using HTTP Redirect as per your suggesion, worked
View Tutorial          By: Balram at 2008-03-21 01:27:02

5. Thanks for the explanication
View Tutorial          By: Koklen at 2012-06-20 03:40:05

6. thanks for giving the example of abstract class...
View Tutorial          By: mahesh at 2010-04-11 08:20:45

7. hai, i tried the abvoe code, m getting the follwin
View Tutorial          By: charan at 2011-10-20 12:59:59

8. Wow
View Tutorial          By: Ajmalnafi at 2012-06-30 01:48:04

9. Very well Explained Thank you Hog .
View Tutorial          By: Asad at 2010-08-10 23:59:29

10. actually very good site. I learned more & more
View Tutorial          By: shiranthi at 2012-07-12 12:18:38