How to call a method with a separate thread in Java

Thread t1 = new Thread(new Runnable() {
     public void run() {
          // code goes here.
     }
});  
t1.start();
Executors.newSingleThreadExecutor().execute(new Runnable() {
    @Override
    public void run() {
        myCustomMethod();
    }
});
Executors.newCachedThreadPool().execute(new Runnable() {
    @Override
    public void run() {
        myCustomMethod();
    }
});

References
http://stackoverflow.com/questions/3489543/how-to-call-a-method-with-a-separate-thread-in-java