Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1038 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 9y30l2
Related Questions
Core Java : What is the I/O filter?

What is the I/O filter?

An I/O filter is an object that reads from one stream and writes to another.
Category: Core Java Date: 11/3/2010 7:11:49 AM
Core Java : Is a class a subclass of itself?

Is a class a subclass of itself?

Yes
Category: Core Java Date: 11/3/2010 6:38:48 AM
Core Java : What is the base class of all classes?

What is the base class of all classes?

Object class.
Category: Core Java Date: 11/3/2010 5:33:47 AM
Core Java : Can an unreachable object become reachable again?

Can an unreachable object become reachable again?

An unreachable object may become reachable again. This can happen when the object's finalize() metho....
Category: Core Java Date: 11/3/2010 4:37:55 AM
Core Java : To what value is a variable of the boolean type automatically initialized?

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

The default value of the boolean type is false.
Category: Core Java Date: 11/3/2010 4:04:55 AM