Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 888 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 rIKJH3
Related Questions
Core Java : What is de-serialization?

What is de-serialization?

De-serialization is the process of restoring the state of an object.
Category: Core Java Date: 11/5/2010 10:48:51 AM
Core Java : What is the difference between time slicing and preemptive scheduling ?

What is the difference between time slicing and preemptive scheduling ?

In time slicing, the task continues its execution for a predefined period of time and reenters the p....
Category: Core Java Date: 11/5/2010 10:15:50 AM
Core Java : What are the primitive Java types?

What are the primitive Java types?

byte, char, short, int, long, float, double, and boolean.
Category: Core Java Date: 11/5/2010 9:09:48 AM
Core Java : What is the Dictionary class?

What is the Dictionary class?

The Dictionary class provides the capability to store key-value pairs.
Category: Core Java Date: 11/5/2010 8:58:53 AM
Core Java : To what value is a variable of the String type automatically initialized?

To what value is a variable of the String type automatically initialized?

The default value of an String type is null.
Category: Core Java Date: 11/5/2010 8:25:52 AM