If I start a new thread e.g
if I put the snipped that starts the new thread in multiple places always using new keywords will it keep creating new threads junking up my program?Code:(new Thread(new fakeClass())).start(); fakeClass { public void run() { System.out.println("Do I have to die?"); } }




Reply With Quote