试题详情
- 多项选择题Which three will compile and run without exception?()
A、private synchronized Object o;
B、void go() {synchronized() { /* code here */ }
C、public synchronized void go() { /* code here */ }
D、private synchronized(this) void go() { /* code here */ }
E、void go() {synchronized(Object.class) { /* code here */ }
F、void go() {Object o = new Object();synchronized(o) { /* code here */ }
- C,E,F
关注下方微信公众号,在线模考后查看
热门试题
- Identify the
- The CURSOR_SHAR
- You are w
- Hibernate的二级缓存是由()维护
- Indentify two advant
- A corrupted&en
- ClicktheExhibitbutto
- You work
- You are
- DESC student的作用是什么?
- Coherence prov
- What is t
- When scaling
- The systemQ
- 在PL/SQL环境中,以下说法正确的是(
- Your production dat
- You are m
- Given: WhenthedoSome
- Given:10. interface
- You issue the follo