- 13
- 0
- 约1.05万字
- 约 24页
- 2017-06-24 发布于河南
- 举报
java中synchronize关键字的理解(国外英语资料)
java中synchronize关键字的理解
The understanding of synchronize keyword in Java application in multi thread environment
Synchronized keyword, which includes two uses: the synchronized method and the synchronized block.
1. synchronized method: declare the synchronized method by adding the synchronized keyword in the method declaration. Such as:
Public, synchronized, void, accessVal (int, newVal);
Synchronized control method of variable access class members: each class instance corresponds to a lock, the lock side of each synchronized method must be called the method of class instances can be executed,
您可能关注的文档
- 2010年理化考验--基础常识(A1/A2型题1)(国外英语资料).doc
- 2010年第一季度绵阳市劳动力市供求状况分析(国外英语资料).doc
- 2010年自考医学类工程心理学复习笔记(第2章)(国外英语资料).doc
- 2010年辽宁省高考数学命题展看与温习对策(国外英语资料).doc
- 2010年锅炉运规试题(A卷)(国外英语资料).doc
- 2010新课标数学(国外英语资料).doc
- 2010网络管理员试题(国外英语资料).doc
- 2010建筑工程清包工单价参考(国外英语资料).doc
- 2010年非上海生源高校毕业生进沪就业评分办法(国外英语资料).doc
- 2010陕西中考物理(国外英语资料).doc
原创力文档

文档评论(0)