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. how to solve this problem

javax.com

View Tutorial          By: rajani at 2009-07-18 05:44:55

2. excellent for a beginer in inet address ...
View Tutorial          By: Tony at 2009-08-13 22:39:48

3. In the 2nd example ,during the creation on object
View Tutorial          By: priyanka thakur at 2011-08-29 20:24:16

4. Thnak you very much i got much of help for my proj
View Tutorial          By: Xshay at 2012-01-21 06:26:49

5. we know how declare constructor and methods but we
View Tutorial          By: sreekanth at 2011-05-04 02:49:29

6. hi,
can you tell me how to run the code to

View Tutorial          By: raghu at 2008-12-26 03:15:52

7. Nice explaination of constructor and destructor. B
View Tutorial          By: Anon at 2009-03-01 03:50:06

8. It is really a nice example when you need to sort
View Tutorial          By: Ranjan at 2010-10-04 23:14:33

9. plz can you help me,,,because i need this tomorrow
View Tutorial          By: ivie at 2012-12-12 11:20:35

10. Hy gr8 man..!!! It was easy understanding
View Tutorial          By: ahwe at 2010-04-07 02:50:40