Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1111 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 yimNAg
Related Questions
Core Java : Can the dead thread be restart?

Can the dead thread be restart?

No, A dead thread cannot be restarted.
Category: Core Java Date: 11/8/2010 6:46:50 AM
Core Java : What is deadlock?

What is deadlock?

Deadlock is a problem happens when two threads are waiting on each other to release a resource and e....
Category: Core Java Date: 11/8/2010 6:13:50 AM
Core Java : What is the difference between the Boolean & operator and the && operator?

What is the difference between the Boolean & operator and the && operator?

If an expression involving the Boolean & operator is evaluated, both operands are evaluated. The....
Category: Core Java Date: 11/8/2010 5:29:53 AM
Core Java : What is JIT?

What is JIT?

A JIT(Just In Time compiler) is used to compile java byte code to native code.
Category: Core Java Date: 11/8/2010 5:08:47 AM
Core Java : What modifiers may be used with an inner class that is a member of an outer class?

What modifiers may be used with an inner class that is a member of an outer class?

A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.....
Category: Core Java Date: 11/8/2010 4:56:52 AM