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. its very helpful and understandable.thanq
View Tutorial          By: Deepika darapaneni at 2012-03-24 14:16:39

2. Hello, I have been using a very similar code on de
View Tutorial          By: Rod at 2011-11-13 15:09:52

3. I am new to J2ME but this was really help full and
View Tutorial          By: Subhash at 2013-05-05 08:57:38

4. hai,
i want to know how the connect

View Tutorial          By: V.Selvi at 2010-02-28 21:01:33

5. Hi,
I want to run a bat file, below are the

View Tutorial          By: Rajshekar at 2011-10-28 06:07:06

6. if the two StringBuffer object contain same String
View Tutorial          By: Avinash kumar at 2011-11-09 11:16:19

7. Great Sample, it helped me alot

Tha

View Tutorial          By: Mike at 2010-03-02 04:39:57

8. @All

You need to first keep your .w

View Tutorial          By: Nithya at 2011-08-31 02:27:48

9. Hi Chriz,
Yes it should work on any site. B

View Tutorial          By: William at 2010-07-10 20:54:24

10. It would be nice to add the line,


View Tutorial          By: Anonymous at 2009-08-30 07:59:10