which thread responsible to perform this code ? ?
Hello ,
is the follwoing code mean that when i create object of type f for example :
f ff=new f();
then this object (ff) will has its new thread then this new thread will perform run method or the thread whose create object ff will be responcible to perform all instructions in the construcuter (include run method) ?
class f {
f() { new Thread(new Runnable() {
public void run() {
System.out.println("i'm inside run method ") ;
}
}).start();
}
}
Thanks alot

