皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
假设test类运行程环境下,那么关于A处的同步下面描述正确的是? public class Test { List list= new java.util.ArrayList(); public void test() { synchronized ( list) { // --A list.add( String.valueOf(System.currentTimeMillis())); } } }
A.
test方法中必须增加synchronized。
B.
Test类为singleton时有必要增加synchronized。
C.
test方法中没有必要增加synchronized。
D.
Test类为singleton时也没有必要增加synchronized。
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】截止2013年7月,中国拥有的世界遗产总数已达到45处,超越西班牙成为第一大世界遗产国。( )
【判断题】两河口公路标和西藏公路标均要求投标人具备独立的法人资格
A.
正确
B.
错误
【判断题】MCS-51 单片机的数据存储器是指外部存储器
A.
正确
B.
错误
【单选题】截止到什么时候,世界遗产总数达到1031处?
A.
2015年7月
B.
2014年7月
C.
2016年7月
D.
2013年7月
【单选题】—When will Han Han's new book _______? —Sorry,l don't know.I'm looking forward to hi
A.
4. —When will Han Han's new book _______? —Sorry,l don't know.I'm looking forward to his new book,too. A. come on
B.
come out
C.
come in
D.
come over
【多选题】全国人民代表大会授权香港特别行政区依照(中华人民共和国香港特别行政区基本法)的规定,实行高度自治,享有和终审权。
A.
行政管理权
B.
立法权
C.
私有财产权
D.
独立的司法权
E.
独立行使国家主权
【单选题】From the text, we know that __________
A.
the model bike was made of clay, in colors of red and white
B.
the parents wanted to let their daughter choose the bike she wanted
C.
the model bike was made of metal, like a real one
D.
the parents did not think it necessary to buy their daughter another bike
【单选题】I don’t know where they are_____.
A.
hanging on
B.
hanging out
C.
hanging up
D.
hanging together
【单选题】Do you know where _________ now?
A.
does he live
B.
he lived
C.
he lives
D.
did he live
【判断题】MCS-51单片机的数据存储器是指外部存储器。
A.
正确
B.
错误
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题