you mean the Thread is refered by the JVM. Ok! Let's try an other example

std (std)
import javax.swing.*;
public class testf
public static void main(String arg[])
JFrame f;

(new JFrame("god")).show();




2001-9-18 -04:00

回到话题: Is there anything wrong with this code? No object refers to KKMultiServerThread after it is created. Will it be removed by garbage collector?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论