Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 821 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 ivLCbX
Related Questions
Core Java : What state does a thread enter When it is executing?

What state does a thread enter When it is executing?

The running state.
Category: Core Java Date: 11/4/2010 1:10:50 AM
Core Java : What is JAR file?

What is JAR file?

JAR(Java Archive) is a file format that enables you to bundle multiple files into a single archive f....
Category: Core Java Date: 11/4/2010 12:05:47 AM
Core Java : What is a task's priority and how is it used in scheduling?

What is a task's priority and how is it used in scheduling?

A task's priority is an integer value that identifies the relative order in which it should be execu....
Category: Core Java Date: 11/3/2010 11:53:53 PM
Core Java : What is the immutable class?

What is the immutable class?

Immutable class is a class which doesn’t include any setter methods and is a final class, so the obj....
Category: Core Java Date: 11/3/2010 10:48:51 PM
Core Java : What are the Object and Class classes used for?

What are the Object and Class classes used for?

The Object class is the highest-level class in the Java class hierarchy. The Class class is used to ....
Category: Core Java Date: 11/3/2010 10:37:55 PM