To make an object to begin executing as a separate thread,
what method is used?
Answers were Sorted based on User's Feedback
Answer / anonymous
Public void run() ---- method should be used.
myClass mc= new myClass();
Thread t1= new Thread(mc);
thatClass tc= new thatClass();
Thread t2= new Thread(tc);
t1.run();
t2.run();
Two Objects
Two Threads
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / devarathnam c,kotagudibanda(po
Hi...
public void run();method in Runnable interface,which only
one method in Runnable interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
what are design patterns in java?give with example?
Where can I ask questions and make suggestions about seam?
what are memory considerations of jsp compares to other web components?
which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config
Describe responsibilities of Activator?
What is the difference between Process and Threads?
what is the RMI / IIOP?
In howmany ways a thread can be created?
the same information whether it will connect to the database or it will be used previous information?
Why a client should be multithreading? Explain.
What is Bootstrapping in RMI?
How to add new JTabbed pane?