Comment on Tutorial - How to use 'implements Runnable' in Java By Emiley J



Comment Added by : Ashish

Comment Added at : 2014-07-25 08:44:08

Comment on Tutorial : How to use 'implements Runnable' in Java By Emiley J
Threads can be implemented by extending Thread class, implementing Runnable interface and Callable interface.

If you want to return an value or throw an exception then use Callable otherwise use Runnable as extending Thread class limits the Class inheritance and also makes the process heavy.

Below link can be useful if you want to find more:
<a href="http://newtechnobuzzz.blogspot.com/2014/07/different-ways-to-implement-threads-in.html">Different ways to implement Threads in Java</a>


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 came to know about the basic concepts here but I
View Tutorial          By: Amit Gorvadiya at 2015-09-23 06:18:37

2. This is the help full sites for diploma student
View Tutorial          By: Tanuja at 2013-08-11 09:41:55

3. Thanks for the digital shell clock: very cool, and
View Tutorial          By: Lol loller at 2012-04-11 15:40:45

4. I have a computer science lab final on tuesday (09
View Tutorial          By: kudas at 2009-06-07 10:55:06

5. Hi I am developing a code for data transfer from
View Tutorial          By: Rajavel at 2014-03-21 14:17:54

6. very Good machi.......
View Tutorial          By: Janani at 2013-03-04 06:37:47

7. Hi
Its nice example ..
som

View Tutorial          By: munirasu at 2011-04-01 06:38:46

8. program is very long
View Tutorial          By: ajit kumar at 2012-04-21 03:57:13

9. Pl provide me code to send sms using USB modems.
View Tutorial          By: Prayag Singh at 2010-09-27 22:50:34

10. The program will work only need to change

View Tutorial          By: LEENA NARULA at 2012-06-15 06:45:06