专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
synchronized的一个简单例子 public class TextThread { /** * @param args */ public static void main(String[] args) { // TODO 自动生成方法存根 TxtThread tt = new TxtThread(); new Thread(tt).start(); new Thread(tt).start(); new Thread(tt).start(); new Thread(tt).start(); } } class TxtThread implemen [阅读全文] [PDF]
1 共1条 分1页