you mean in my code example o.wait( ) is just for keeping the thread alive ??
//zeeshan
Type: Posts; User: zeeshanmirza
you mean in my code example o.wait( ) is just for keeping the thread alive ??
//zeeshan
i understand your point json and helloworld :). I have a code, got it from internet. I am just trying to understand this code. here they have created Object object in constructor. why ? what is its...
There is a server class in which we are using this code. I just want to ask, what this code do in general??
Object o = new Object();
synchronized (o) {
try {
o.wait();
} catch...