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. very good exmpl and explantion
View Tutorial          By: harshita negi at 2013-10-16 02:19:35

2. good
View Tutorial          By: vishal at 2013-02-11 03:50:04

3. well an easy code to understand
thanks muc

View Tutorial          By: narmada at 2011-01-17 09:47:02

4. I want to know about all java application.
View Tutorial          By: Ahasan at 2009-04-10 09:42:48

5. class Evaluate
{
public static void

View Tutorial          By: prajjawal at 2013-02-27 12:36:58

6. this is good, but i need a simple program about sh
View Tutorial          By: ramalakshmi at 2011-01-05 03:38:26

7. pls send more tutorial on my id
View Tutorial          By: vipin at 2012-11-17 07:23:49

8. useful for me
View Tutorial          By: ganga at 2010-10-06 00:51:51

9. good explanation,
Thanks

View Tutorial          By: venkatesh at 2012-01-04 08:43:48

10. Thanks it really works good
Continue

View Tutorial          By: vipul at 2009-07-14 02:21:18