Runnable updateThread = new Runnable(){ @Override public void run(){ handler.postDelayed(updateThread, 3000); } }; 楼主少了一对括号和一个分号
public class Test { public static void main(String[] args) { Test test = new Test(); test.go(); } public void go() { System.out.println("Hello"); } }
62,614
社区成员
307,327
社区内容
加载中
试试用AI创作助手写篇文章吧