boolean isavail=false;
new Thread(){
public void run()
{
.
.
.
isavail=fun();
.
.
.
}
}.start();
I need that value assigned in the run() method ..... But eventhough the function returns "true", the value being present in that variable after the thread is
"false" only......
How to get that value????????
I am very new to threads and all, so i need a little bit of help plz....... :)