Comment on Tutorial - Method Overriding in Java By Henry



Comment Added by : Shashikumar Misal

Comment Added at : 2012-09-01 20:35:47

Comment on Tutorial : Method Overriding in Java By Henry
Programs are so good..!
i wish to say one thing
when we invoke the show(); method
in main method as y1.show(), it wil b
executes properly and to invoke
base class method show() one can
use super keyword or base class object.

But in c++ calling y1.show(); wil give ambiguty error. there we hav to cal as Y:: y1.show();

am i right?
please reply.


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. gr8 work :)
View Tutorial          By: ahmad at 2011-03-23 01:05:57

2. really very-2 good site....

thanks

View Tutorial          By: Priti at 2012-02-06 03:00:13

3. ya it is better one and more helpful while learni
View Tutorial          By: sumithkrishnank at 2011-07-16 06:47:37

4. so what about, if i need to remove these letters f
View Tutorial          By: need Help at 2009-11-12 08:40:31

5. Explanation is very good. Thanks all.
View Tutorial          By: reddy at 2010-04-07 08:47:09

6. thanks for the help! your tutorials really help us
View Tutorial          By: Mon Bernie Gucor at 2009-02-20 19:57:35

7. Splendid! Haven\'t used asserts before, very helpf
View Tutorial          By: Anonymous at 2009-03-11 04:18:42

8. Hi Sir...
sir i am a student and I am worki

View Tutorial          By: shanthi at 2013-03-22 11:01:15

9. answer of comment No, 17

#include&l

View Tutorial          By: Rashid Jabbar at 2012-09-16 20:23:11

10. i want to knew about byte datatype. why did not by
View Tutorial          By: pankaj kr tiwari at 2011-12-02 04:37:43