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
Have you used threads in Servelet?
Why do threads block on i/o?
What are externizable interface?
What is scalable, portability in the view of J2EE?
What is the difference between RMI and Corba?
What is the difference between the session.get() method and the session.load() method?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
How are the elements of a cardlayout organized?
Why are some of the class and element names counter-intuitive?
Difference between new operator and class.forname().newinstance()?
What state does a thread enter when it terminates its processing?
what is a portable component?
difference between ejb,struts,hibernate,spring and jsp
What is bean? Where can it be used?
What is the difference between long.class and long.type?