Hi,
How can I get the value from a field in a child thread?
Thread t = new Thread(new RunnableObject())
t.start()
//how to get the value from child thread before it dies?
t.join()
class RunnableObject implements Runnable{
public String comeAndGetMe
public void run(){
comeAndGetMe ="how to get this text from parent thread?"
}
}
Hotmail: Free, trusted and rich email service.
Get it now.