Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 899 Page Views: 

What method must be implemented by all threads?



Posted By: Avi Date: 7 November 2010 12:46:50 PM
 Answer:

All tasks must implement the run() method, whether they are a subclass of Thread or implement the Runnable interface.


Posted By: avibtech


Date: 7 November 2010 12:46:50 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image SNzmG2
Related Questions
Core Java : What is the difference between a while statement and a do  statement?

What is the difference between a while statement and a do statement?

A while statement checks at the beginning of a loop to see whether the next loop iteration should oc....
Category: Core Java Date: 11/9/2010 11:39:53 AM
Core Java : Is the garbage collection algorithm vendor implemented?

Is the garbage collection algorithm vendor implemented?

yes
Category: Core Java Date: 11/9/2010 11:18:47 AM
Core Java : What is the Map interface?

What is the Map interface?

The Map interface replaces the JDK 1.1 Dictionary class and is used associate keys with values.
Category: Core Java Date: 11/9/2010 11:06:53 AM
Core Java : How is it possible for two String objects with identical values not to be equal  under the == operator?

How is it possible for two String objects with identical values not to be equal under the == operat....

The == operator compares two objects to determine if they are the same object in memory. It is possi....
Category: Core Java Date: 11/9/2010 8:44:54 AM
Core Java : How many times may the garbage collector invoke an object's finalize() method ?

How many times may the garbage collector invoke an object's finalize() method ?

An object's finalize() method may only be invoked once.
Category: Core Java Date: 11/9/2010 8:23:48 AM