📅  最后修改于: 2022-03-11 14:52:21.241000             🧑  作者: Mango
代码示例2
new java.util.Timer().schedule(
new java.util.TimerTask() {
@Override
public void run() {
// your code here
}
},
5000
);