Comment on Tutorial - Inheritance Example in Java By Watson



Comment Added by : Gajanan Patil

Comment Added at : 2012-05-09 04:42:29

Comment on Tutorial : Inheritance Example in Java By Watson
Your code will not execute using above main method it will give following 2 errors while compiling

inheritanceBicycl.java: cannot find symbol
symbol : class mountainBike
location: class inheritanceBicycle
mountainBike m = new mountainBike(1,2,300,4);
^
inheritanceBicycl.java: cannot find symbol
symbol : class mountainBike
location: class inheritanceBicycle
mountainBike m = new mountainBike(1,2,300,4);
^


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. hi What is the meaning of this line ,
you c

View Tutorial          By: Anil Chalhotra at 2013-02-16 08:04:03

2. Thanks for this explanation. I'm not sure whether
View Tutorial          By: Venkatesh Challa at 2013-03-29 04:35:21

3. Nice one really helpful thanks
View Tutorial          By: Shashikant at 2012-01-06 12:00:45

4. Where is ur previous tutorial on VB.NET Socket Pro
View Tutorial          By: Avipriya Sharma at 2009-07-20 10:05:15

5. super
View Tutorial          By: chalamareddy at 2012-10-08 18:08:29

6. thanks a lot,nicely explained
View Tutorial          By: dhanushka at 2014-08-13 14:40:37

7. thanks bro it helped me to answer my facu
View Tutorial          By: kasmin at 2010-01-08 08:11:32

8. hi
thanks for the above code
Anyone

View Tutorial          By: mjnanthini at 2010-09-29 00:59:01

9. 1==how can we use vb.net web service data in JSF?<
View Tutorial          By: kumaraswamy at 2009-01-06 23:56:53

10. The above code given for sending SMS through your
View Tutorial          By: ROHAN at 2008-10-17 00:55:46