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. we generally use this keyword for referring to the
View Tutorial By: madhu at 2012-02-07 14:11:57
2. which Iden WebJal do i need to load up my music MI
View Tutorial By: phil at 2007-10-18 17:51:19
3. Hi,
Can anyone suggest a GSM Modem
View Tutorial By: Archna at 2009-11-06 03:23:14
4. Hi. When i click on Install certificate. It tells
View Tutorial By: jaris at 2011-10-18 11:00:41
5. semicolon(*;) is missed in first line..con .close(
View Tutorial By: Reddymalla Babu Sircilla at 2013-02-22 09:01:29
6. thanks! great tutorial!
View Tutorial By: Gracia at 2013-01-10 07:58:06
7. really helpfull :) thanks
View Tutorial By: Jagan at 2014-12-09 10:16:56
8. rms programe
View Tutorial By: hardik at 2008-03-28 23:06:58
9. The static variables are not in object scope inste
View Tutorial By: Karthick at 2011-06-29 06:55:17
10. Thanks friend this code will really help me
View Tutorial By: Anonymous at 2009-05-04 20:16:58