![]() Related Questions As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we As of now ,what i know abt cloning is that we can make a field to field copy of an object.ie when we clone an object,its state as well as a its behaviour is copied to the cloned object.My question is what is the neccesity of it? cant we create another object of the same class? so how does its different from cloned object (that is creating another object of that class rather than being cloned).is there any security issues coupled with this cloned object? And What is the Concrete purpose of Latest Answer : Thread is a single sequence of execution within a process. ... Latest Answer : 1. Extending the Thread class. 2. implementing the Runnable interface. and implementing the Runnable interface is best way as in Extending Thread class u cannot extend any other class. but in Implementing Runnable interface u can extend ... Latest Answer : "thread.isAlive()" this is the method. Regards Mohan ... Latest Answer : It is interthread communication,this is performed using Wait(),notify() and notifyall() ... Latest Answer : least priority thread ... Suppose If we have variable ' I ' in run method, If I can create one or More thread each thread will occupy a separate copy or same variable will be shared Latest Answer : Not possible ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||