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

Explain the inheritance principle.

0 Answers  


What about products that claim to block java applets at a firewall? : java security

0 Answers  


How do I enable jvm?

0 Answers  


Explain about the Physical Data Model?

1 Answers   HCL,


how ahstraction is the property of oops,this is also in c and c++ ex. printf function which is also hide the unnecessary data,so what is the difference ? and does c++ fallow the abstraction?

0 Answers  






What is the difference between map and flatmap in java?

0 Answers  


What about products that claim to detect malicious applets? : java security

0 Answers  


Who created eclipse?

0 Answers  


Is lambda cheaper than ec2?

0 Answers  


Why we use beans in java?

0 Answers  


Can java program run without jdk?

0 Answers  


What is xml file in java?

0 Answers  


Categories