摘要: 输入一个数字n,交替打印foo和bar n 次 public static void main(String[] args) { int n = 10; //打印次数 FooBar fooBar = new FooBar(n); Runnable printFoo = () -> { System. 阅读全文
posted @ 2021-09-04 17:39 hehell 阅读(224) 评论(0) 推荐(0)