new Timer().schedule(new TimerTask(){
@Override
public void run() {
System.out.println("瀑");
new Timer().schedule(this, 10000);
}
}, 10000, 3000);  //10秒后运行,再过3秒再运行



class myTask extends TimerTask {

new Timer().schedule(new myTask(), 10000);
}
new Timer().schedule(new myTask(), 10000);