Comment on Tutorial - Inheritance Example in Java By Watson



Comment Added by : Michael

Comment Added at : 2011-09-02 02:37:51

Comment on Tutorial : Inheritance Example in Java By Watson
You only need 1 main method per application, not 1 per class. There is no requirement to have a main method in either of these classes.

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. i need method overloading with io package
View Tutorial          By: ravinder kaur at 2010-09-11 11:00:57

2. HOW TO SET PASSWORD IN JAVA.....
View Tutorial          By: NAKUL at 2012-12-14 05:23:16

3. I have initialized a int array while declaring.
View Tutorial          By: Prashanth at 2011-09-15 11:16:40

4. No it won't work...
View Tutorial          By: Arin at 2012-08-17 09:59:40

5. thanks a lot
View Tutorial          By: Uzzal biswas at 2014-11-04 02:42:54

6. Good and very clear explanation...
View Tutorial          By: Pavana at 2010-01-05 23:35:30

7. @ parul : check whether your are passing class fil
View Tutorial          By: heramb at 2012-03-28 07:15:21

8. i am a bca student. i want to know more about garb
View Tutorial          By: ahana at 2011-06-26 11:02:36

9. Great work ;)
View Tutorial          By: Rizwanulla Sharieff at 2012-08-21 04:42:41

10. site is very good explanation is very clear throug
View Tutorial          By: sridevi at 2013-03-20 15:26:29