How many ways can a thread be used?
Answer Posted / subha narayan mohapatra
thread can be used in two ways-: extending the Thread class
and implementing Runnable interface.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What restrictions are placed on the values of each case of a switch statement?
How messaging services are done, before release of JMS?
what is a portable component?
What are the different approaches to represent an inheritance hierarchy?
How substring() method of string class create memory leaks?
What is the relationship between the canvas class and the graphics class?
Difference between swing and awt?
Have you used threads in Servelet?
Describe activation process?
How to deploy Jar, War files in J2EE?
Write a singleton program?
What is a policy?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
What is the difference between session and entity beans?