![]() Related Questions Latest Answer : In singleton class ,only one time the instance wil create.Example....public class Sin{ static Sin s=null; public static void main(String a[]) { create(); create(); ... Latest Answer : UNICAST is 1-1. MULTICAST is 1-M. ... Latest Answer : syncronized - key word used for maintain consistence state of common resource like a file, an array, a variable ,etc when many thread share among them. in java this is syncronization implemented in two ways 1. synchrnization method 2. ... Latest Answer : the code which has the probability of raising an exception is placed in the try block. the code for handling the situation when an exception occurs is placed in the catch block with the instance of the exception as the parameter. when an exception ... Latest Answer : final class cannot be subcassed ... 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() ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||