Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1013 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 wUebGQ
Related Questions
Core Java : Which package is always imported by default?

Which package is always imported by default?

The java.lang package is always imported by default.
Category: Core Java Date: 11/5/2010 12:47:55 AM
Core Java : If a class is declared without any access modifiers, where may the class be accessed?

If a class is declared without any access modifiers, where may the class be accessed?

A class that is declared without any access modifiers is said to have package access. This means tha....
Category: Core Java Date: 11/5/2010 12:15:53 AM
Core Java : What is a Java package and how is it used?

What is a Java package and how is it used?

A Java package is a naming context for classes and interfaces. A package is used to create a separat....
Category: Core Java Date: 11/4/2010 9:52:55 PM
Core Java : Why do threads block on I/O?

Why do threads block on I/O?

To other threads may execute while the i/o operation is performed
Category: Core Java Date: 11/4/2010 9:31:49 PM
Core Java : What is the Collections API?

What is the Collections API?

The Collections API is a set of classes and interfaces that support operations on collections of obj....
Category: Core Java Date: 11/4/2010 8:59:48 PM