Comment on Tutorial - Inheritance Example in Java By Watson
Comment Added by : SM
Comment Added at : 2011-02-08 19:43:29
Comment on Tutorial : Inheritance Example in Java By Watson
Why do you need main, Sir?
MountainBike and Bicycle are public classes, so
you can create an application and use MountainBike or Bicycle as you need (with main defined in that application)
:-)
SM
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
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
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
MultiLevel Inheritance sample in Java
Archived Comments
1. thank you for this quick and easy demonstration. B
View Tutorial By: rajesh at 2012-09-20 17:48:17
2. FILE:- lpton.pl......
.....................
View Tutorial By: Prats at 2013-02-02 17:33:40
3. why the java program must be written in side the c
View Tutorial By: surendra at 2009-04-01 09:02:42
4. Hey guys it's working. If not then remove p.waitFo
View Tutorial By: dileep at 2013-01-04 19:51:38
5. Hi!
I would like to send a string from a j2
View Tutorial By: beetlebrain at 2010-03-26 06:02:00
6. Hey thanks for your tutorial.
But i
View Tutorial By: Matze at 2013-07-19 16:08:46
7. Realy good one
View Tutorial By: Sabir at 2011-10-25 12:08:43
8. thanx. for this tutorial. i was having some doubt
View Tutorial By: prabhash at 2011-09-06 10:15:19
9. Thanks for the tips.
I hesitated to
View Tutorial By: Dick at 2011-10-09 15:21:50
10. Been looking at several website for a clear explan
View Tutorial By: Jase at 2011-08-09 12:00:10