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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. we can write an abstract class without any abstrac
View Tutorial By: keerthi at 2013-08-20 16:31:38
2. Nevermind, I was able to modify both applications
View Tutorial By: Matthew at 2009-06-16 14:10:20
3. how can i use <img> tag in message body?
View Tutorial By: Sonal at 2012-11-07 07:05:33
4. good one
View Tutorial By: saurabh at 2012-01-17 04:43:29
5. very nice but i want some more exapmles
View Tutorial By: prasad lengare at 2010-10-03 23:12:47
6. Good example for vector
View Tutorial By: mangai at 2011-07-07 09:46:10
7. string is immutable in java.String buffer is mutab
View Tutorial By: krishnakumar at 2009-10-19 00:35:44
8. Thanks for help
View Tutorial By: Asha at 2014-12-20 08:25:48
9. hi, would you please send me the detail to impleme
View Tutorial By: nayeem at 2009-03-13 08:47:27
10. excellent to easy going
View Tutorial By: murali at 2009-11-15 23:13:21