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



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. Thanks for posting the JAVA source code!!
View Tutorial          By: Coder at 2010-07-29 11:41:10

2. hello,
i have completed my bsc(computer sci

View Tutorial          By: Geeta at 2012-07-25 13:35:07

3. the neccessary code to create website using java
View Tutorial          By: haymanot girma at 2007-11-09 05:43:32

4. Nice tutorial
View Tutorial          By: Sai at 2010-09-23 21:52:38

5. why push is error in st.push(new Integer(a)); ? an
View Tutorial          By: ann at 2015-02-02 09:23:41

6. Very nicely explained, especially the step-by-step
View Tutorial          By: Kaushik at 2012-09-20 04:14:21

7. welll program runs but fails at the statement wher
View Tutorial          By: Aman Aggarwal at 2009-03-22 22:42:52

8. Hi,

Just wonder if there is a way t

View Tutorial          By: Bank at 2007-12-18 04:30:26

9. Hi There Busy doing a project and found that i cou
View Tutorial          By: Steven Owen Nell at 2010-09-05 13:32:01

10. i need full program for connect oracle to struts l
View Tutorial          By: Munaver Basha at 2010-09-30 01:28:10