Comment on Tutorial - Inheritance Example in Java By Watson



Comment Added by : niyati

Comment Added at : 2011-05-28 07:57:52

Comment on Tutorial : Inheritance Example in Java By Watson
constructors are not to be called. when you make an object of the class bicycle, you simply pass your values for it. the constructor in bicycle takes care of initialising its own and its super's variable. :)

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. java use real world object ............
View Tutorial          By: yunus khan at 2012-12-07 08:24:47

2. Well done. I am a mobile application developer. I'
View Tutorial          By: Wendi-tan at 2008-09-03 18:45:41

3. what about memory in case of struts 2 at a time nu
View Tutorial          By: lakku at 2010-08-13 06:24:02

4. i have a some knowledge of java . I want some exam
View Tutorial          By: kavitha at 2012-07-30 09:07:47

5. I have writtent this code in my jdbc program,

View Tutorial          By: yeshdeep kumar at 2014-11-12 07:46:46

6. thank's
View Tutorial          By: gerald at 2010-08-06 01:21:39

7. in tc not accept argument directly run and gave fi
View Tutorial          By: vishal vekariya at 2012-11-16 11:06:38

8. I liked it.
View Tutorial          By: savitha at 2011-05-06 02:23:46

9. very nice..!
View Tutorial          By: neeraj at 2012-04-21 11:12:08

10. it's very nice answer
View Tutorial          By: ahmedmohsen at 2011-12-31 19:26:09