Comment on Tutorial - Method Override sample in Java By Ganesh Iyer



Comment Added by : renuka

Comment Added at : 2012-08-29 15:08:33

Comment on Tutorial : Method Override sample in Java By Ganesh Iyer
i have a problem ie., Animal is the super class and Dog is the sub class, is it possible to create object in this manner, "Animal A=new Dog", if yes, how we can do this?

View Tutorial



Ask a Question

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. mohd see this link http://www.java-samples.com/sho
View Tutorial          By: Issac at 2011-05-31 02:39:55

2. This does not work in following case :
Cli

View Tutorial          By: Amardeep at 2010-01-20 05:59:21

3. I get the exception with the message "Permiss
View Tutorial          By: Jan at 2011-07-20 08:58:55

4. M having query
i wat to create employee cla

View Tutorial          By: Dayasagar at 2010-05-22 16:18:17

5. Hi DILIP !
Can you plz help me I have an ex

View Tutorial          By: Bull at 2012-01-25 16:16:36

6. public class zcxzcStack
{
//push fun

View Tutorial          By: eissen at 2014-09-22 13:32:20

7. simply super post
View Tutorial          By: vinodh at 2010-05-05 00:29:12

8. Thank you very much sir.
One can simply exe

View Tutorial          By: rudhin at 2013-05-10 12:32:57

9. Nice explaination.. But wats the use of it? Can i
View Tutorial          By: kavita at 2013-04-04 07:10:14

10. sir can you write the sample proram of this:

View Tutorial          By: bryan labastida at 2011-06-29 02:53:14