Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 889 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 GliFX4
Related Questions
Core Java : What is the purpose of  Observer and Observable?

What is the purpose of Observer and Observable?

Subclass of Observable class maintain a list of observers. Whenever an Observable object is updated,....
Category: Core Java Date: 11/4/2010 4:15:50 PM
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