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. Error loading SolarisSerial: java.lang.Unsatisfied
View Tutorial          By: Sony at 2008-09-10 01:28:52

2. Impressing answer guys...
View Tutorial          By: Jayeeta Pal at 2011-06-28 03:18:26

3. Look this framework (https://code.google.com/p/lin
View Tutorial          By: Mariane at 2013-07-04 14:27:52

4. Hi,
I've tried this but got a problem. Firs

View Tutorial          By: Hendrik Jabs at 2009-12-10 02:46:13

5. is anyone going to post the complete version of th
View Tutorial          By: anon at 2009-04-21 12:26:51

6. good quick explanation. Thanks
View Tutorial          By: kay at 2008-12-08 21:10:13

7. for the guys who is facing problems
just c

View Tutorial          By: Elie at 2010-05-03 12:12:48

8. I set my eclipse as describe above.
I also

View Tutorial          By: Anonymous at 2012-03-25 02:12:52

9. its not solve my problem.i.e
the concept is

View Tutorial          By: murli at 2010-10-02 23:23:11

10. write the program to convert the following:

View Tutorial          By: belgreen frodo at 2015-03-31 05:53:21