Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1072 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 b6Rjkg
Related Questions
Core Java : What are wrapped classes?

What are wrapped classes?

Wrapped classes are classes that enble you to access primitive types as objects.
Category: Core Java Date: 11/9/2010 2:35:48 AM
Core Java : What modifiers may be used with an interface declaration?

What modifiers may be used with an interface declaration?

An interface may be declared as public or abstract.
Category: Core Java Date: 11/9/2010 2:23:53 AM
Core Java : What is an object's lock?

What is an object's lock?

An object's lock obtains synchronized access to the object by multiple threads.
Category: Core Java Date: 11/9/2010 12:12:50 AM
Core Java : Under what conditions is an object's finalize() method invoked by the garbage collector?

Under what conditions is an object's finalize() method invoked by the garbage collector?

The garbage collector invokes an object's finalize() method when it detects that the object has beco....
Category: Core Java Date: 11/8/2010 11:28:54 PM
Core Java : What is the difference between Byte Streams and Character Streams?

What is the difference between Byte Streams and Character Streams?

Byte Streams provide a convenient means for handling input and output of bytes.  And Character ....
Category: Core Java Date: 11/8/2010 10:23:52 PM