O que acontece? Compila?
package teste;
public class TesteThread3 extends Thread {
public void run() {
System.out.println("Running");
System.out.println("Done");
}
private void xxx() {
System.out.println("In xxx");
}
public static void main(String[] args) {
TesteThread3 ttt = new TesteThread3();
ttt.xxx();
ttt.start();
ttt.xxx();
}
}