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. thanks emily, this was fantastic... just saved me
View Tutorial          By: philip at 2010-04-10 20:39:08

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

3. Aoa. could anybody guide me about jsf with hibern
View Tutorial          By: imtiaz afridi at 2011-12-03 12:19:04

4. enter no of line: 5 not fix value
out put i

View Tutorial          By: mark at 2013-01-31 14:30:00

5. can you provide the full class from start to begin
View Tutorial          By: mohit at 2011-12-01 09:56:22

6. Hi,
i tried this way.that works perfectly.

View Tutorial          By: indu at 2009-06-08 03:13:51

7. What is the \ in several of the string building st
View Tutorial          By: rogerb at 2012-01-28 23:07:31

8. really this introduction makes me very interesting
View Tutorial          By: Himaja Reddy at 2012-11-09 06:57:31

9. Why not a simple array list of threads?
wha

View Tutorial          By: Ranadheer Machineni at 2011-08-18 12:30:35

10. i have run the code successfully but it does not s
View Tutorial          By: amrish at 2010-12-11 07:00:28