Sometimes I want to start a task in a new thread. Usually I just use thefollowing code:(new Thread() {public void run() {//some code}}).start();Is it safe? Is there a better way?