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 is mdb and what is the special feature of that?
which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config
difference between applicationserver and webserver
diff between jsp include directive and jsp action include?
What are various types of class loaders used by jvm?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
what are the activation groupworks?
what are the software's needed to develop advanced java 3 tier application project
Explain how will the struts know which action class to call when you submit a form?
what is singleton class? where it mainly used in the projects?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
how team leaders assign work for the team member like through papers,word document