How to implement Thread

Answers were Sorted based on User's Feedback



How to implement Thread..

Answer / videh jaiswal

Thread can be implement by Using Runnable Interface,
by use of Public void run();

Is This Answer Correct ?    6 Yes 0 No

How to implement Thread..

Answer / rakesh jain

there are tow method to implement an thread
1. by extending the thread class.
2. by using runnable interface.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

What is the difference between a while statement and a do statement?

0 Answers  


program A and B are analysed and found to have worst case running time greater than 150NlogN and N*N respectively. which program has the better guarantee after the running time for the large values of N(N>10000)? which program has the better guarantee for the running time of small program N (N<100)? which program will run faster on average for N=1000?

0 Answers   St. Pauls University,


What is a delimiter in java?

0 Answers  


What is cdi in java?

0 Answers  


Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.

0 Answers  






What is java ioc?

0 Answers  


How do I run a project in netbeans?

0 Answers  


What is an actionevent in java?

0 Answers  


What is a context in java?

0 Answers  


What is dao in java?

0 Answers  


What's a code group? : java security

0 Answers  


What is property file in java?

0 Answers  


Categories