LockDemo.png (55.29 KB, 下载次数: 0)
lock.JPG (13.62 KB, 下载次数: 6)
夜半风 发表于 2014-9-8 11:20
把这个地方的new 去掉就好了 条件是绑定在已有的lock对象上的不用new
lock.png (85.99 KB, 下载次数: 1)
夜半风 发表于 2014-9-8 11:25
这是毕老师的原版代码 你看看
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |