private synchronized Object o;
void go() { synchronized() { /* code here */ } }
public synchronized void go() { /* code here */ }
private synchronized(this) void go() { /* code here */ }
void go() { synchronized(Object.class) { /* code here */ } }
void go() { Object o = new Object(); synchronized(o) { /* code here */ } }
第1题:
A. interface-based source NAT
B. source NAT with address shifting
C. source NAT using static source pool
D. interface-based source NAT without PAT
E. source NAT with address shifting and PAT
第2题:
public class Foo { public void main (String args) { system.out.printIn(“Hello World.”); } } What is the result? ()
第3题:
three of the following universities have large endowments from wealthy benefactors. which is the exception?
A. the State University of New York.
B. Yale University.
C. Princeton University.
D. Harvard University.
第4题:
public class ExceptionTest { class TestException extends Exception {} public void runTest () throws TestException {} public void test () /* Point X*/ { runTest (); } } At point X on line 4, which code can be added to make the code compile?()
第5题:
Which three methods of source NAT does the Junos OS support?() (Choose three.)
第6题:
In a three-disk volume group, a disk was physically removed from the system without performing any software procedures to properly remove the disk. Which of the following commands should be performed to recover from this error?()
A.extendvg
B.cfgmgr
C.reducevg
D.varyoffvg
第7题:
int index = 1; String test = new String; String foo = test[index]; What is the result?()
第8题:
A.The instance gets garbage collected.
B.The code on line 33 throws an exception.
C.The code on line 35 throws an exception.
D.The code on line 31 throws an exception.
E.The code on line 33 executes successfully.
第9题:
1. public class Exception Test { 2. class TestException extends Exception {} 3. public void runTest() throws TestException {} 4. public void test() /* Point X */ { 5. runTest(); 6. } 7. } At Point X on line 4, which code is necessary to make the code compile?()
第10题:
In a three-disk volume group, a disk was physically removed from the system without performing any software procedures to properly remove the disk. Which of the following commands should be performed to recover from this error?()