How to implement Thread

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if javac is not recognized?

438


Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?

461


Which is best framework in java?

495


What are the authentication modes in asp.net? : java security

488


What is @override annotation in java?

486






What is the content reside in Use case Document?

1629


How do I enable jvm?

466


What is factory pattern in java?

437


What is hql in java?

485


How do I install eclipse?

476


What is meant by pass by reference and pass by value in java?

511


Is jdk an ide?

487


What is gpt and gpc? : java security

511


Is lambda functional programming?

475


How do I install java re?

503