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

What method must be implemented by all threads?



Posted By: Avi Date: 12 September 2009 08:12:44 PM
 Answer:

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


Posted By: eTechPlanet


Date: 12 September 2009 08:12:44 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image R2dfGs
Related Questions
Core Java : What is the ObjectInputStream?

What is the ObjectInputStream?

It is a class allows you to read objects directly from a stream
Category: Core Java Date: 11/4/2010 3:43:49 PM
Core Java : How to force garbage collector to run?

How to force garbage collector to run?

By using System.gc().
Category: Core Java Date: 11/4/2010 3:10:47 PM
Core Java : Which class is extended by all other classes?

Which class is extended by all other classes?

The Object class is extended by all other classes.
Category: Core Java Date: 11/4/2010 2:58:53 PM
Core Java : Why java does not support multiple inheritance?

Why java does not support multiple inheritance?

Because the multiple inheritance causes the redundancy and diamond problem can’t be solved.
Category: Core Java Date: 11/4/2010 2:26:51 PM
Core Java : What are the high-level thread states?

What are the high-level thread states?

The high-level thread states are ready, running, waiting, and dead
Category: Core Java Date: 11/4/2010 1:21:50 PM