作者Jichang (C.C.Lemon)
看板java
标题Re: [问题] 更新尚未解决Runnable 作为method的input
时间Sun Dec 25 15:47:54 2022
class A
a()
b()
c()
d()
class Thread1
A a;
run()
a.a()
main
obj = new A()
new Thread1(obj).start()
new Thread2(obj).start()
...
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.160.61.48 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/java/M.1671954476.A.45F.html