Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 658 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 lBaKo2
Related Questions
Core Java : What method must be implemented by all threads?

What method must be implemented by all threads?

All the thread objects must implement the run() method, whether they are a subclass of Thread or imp....
Category: Core Java Date: 9/12/2009 8:12:44 PM
Core Java : What is the difference between an if statement and a switch statement?

What is the difference between an if statement and a switch statement?

The if statement is used to select among two alternatives. It uses a boolean expression to decide wh....
Category: Core Java Date: 9/12/2009 8:10:53 PM
Core Java : Does Java supports multiple inheritance?

Does Java supports multiple inheritance?

Java does not support multiple inheritence directly but it does through the concept of interfaces. ....
Category: Core Java Date: 9/12/2009 8:08:22 PM
Core Java : Does Java has "goto" statement?

Does Java has "goto" statement?

No
Category: Core Java Date: 9/12/2009 8:06:29 PM
Core Java : What is the difference between == and equals method?

What is the difference between == and equals method?

equals checks for the content of the string objects while == checks for the fact that the two String....
Category: Core Java Date: 9/12/2009 8:05:29 PM