更多"11. String test= &ld"的相关试题:
[单项选择] 11. String test = “Test A. Test B. Test C.”; 12. // insert code here 13. String[] result = test.split(regex); Which regular expression inserted at line 12 will correctly split test into “Test A,” “Test B,” and “Test C”?()
A. String regex = “”;
B. String regex = “ “;
C. String regex = “.*“.
D. String regex = “//s”
E. String regex = “//.//s*”;
F. String regex = “//w[ /.] +“;
[简答题] 已知(AX)=836BH,X分别取下列值,执行“TEST AX,X”后,标志位ZF、CF、OF、SF各是什么? (1)X=0001H (2)X=8000H (3)X=0007H (4)X=0FFFFH (5)X=0
[单项选择] 11. String test = “This is a test”; 12. String[] tokens = test.split(”/s”); 13. System.out.println(tokens.length); What is the result?()
A. 0
B. 1
C. 4
D. Compilation fails.
E. An exception is thrown at runtime.
[单项选择] Given: 11.String test = "Test A. Test B. Test C."; 12.// insert code here 13.String[] result = test.split(regex); Which regular expression, inserted at line 12,correctly splits test into "Test A","Test B",and "Test C"?()
A. String regex = "";
B. String regex = " ";
C. String regex = ".*";
D. String regex = "//s";
E. String regex = "//.//s*";
[单项选择] You are performing a test deployment of Microsoft Enterprise Desktop virtualization (MED-V) 2.0. You discover that applications deployed by using MED-V run much slower than expected. You need to recommend configuration changes to improve the performance of the MED-V workspace applications. Which configuration changes should you recommend?()
A. Disable cached mode in Outlook 2010
B. Add exclusions to Forefront EndPoint Protection
C. Add URL exclusions to the Forefront TMG Client
D. Modify the network settings in SharePoint Workspace 2010
[单项选择] public class Test { public static void replaceJ(string text) { text.replace (‘j’, ‘l’); } public static void main(String args[]) { string text = new String (“java”) replaceJ(text); system.out.printIn(text); } } What is the result?()
A. The program prints “lava”
B. The program prints “java”
C. An error at line 7 causes compilation to fail.
D. Compilation succeeds but the program throws an exception.
[单项选择] public class test ( public static void main(string args) { int 1= 0; while (i) { if (i==4) { break; } ++i; } } ) What is the value of i at line 10?()
A. 0
B. 3
C. 4
D. 5
E. The code will not compile.
[单项选择] public class test ( private static int j = 0; private static boolean methodB(int k) ( j += k; return true; ) public static void methodA(int i) { boolean b: b = i < 10 | methodB (4); b = i < 10 || methodB (8); ) public static void main (String args) } ( methodA (0); system.out.printIn(j); ) ) What is the result?()
A. The program prints “0”
B. The program prints “4”
C. The program prints “8”
D. The program prints “12”
E. The code does not complete.
[单项选择] public class Test { public static void main (Stringargs) { String foo = args[1]; String bar = args; String baz = args; System.out.printIn(“baz = ” + baz); } } And the output: Baz = 2 Which command line invocation will produce the output?()
A. Java Test 2222
B. Java Test 1 2 3 4
C. Java Test 4 2 4 2
D. Java Test 4 3 2 1
[多项选择] You are designing a test environment that uses Hyper-V. The test environment must enable testers to perform the following tasks: Quickly switch between running states.Re-create a specific state or condition.Return the state of the environment to a specific point in time.Recover from a faulty software update by using the fastest method. You need to ensure that the test environment meets the requirements. What are two possible tools that you can use to achieve this goal?()
A. Hyper-V Manager
B. Microsoft System Center Data Protection Manager (DPM) 2007 with SP1
C. Microsoft System Center Virtual Machine Manager (VMM) 2008 R2
D. Microsoft System Center Configuration Manager (SCCM) 2007 with SP3
[单项选择] Given: 11. String test = "This is a test"; 12. String[] tokens = test.split("/s"); 13. System.out.println(tokens.length); What is the result?()
A. An exception is thrown at runtime.
B. 1
C. 4
D. Compilation fails.
E. 0
[单项选择] public class test ( private static int j = 0; private static boolean methodB(int k) ( j += k; return true; ) public static void methodA(int i)( boolean b: b = i < 10 | methodB (4); b = i < 10 || methodB (8); ) public static void main (String args[])( methodA (0); system.out.printIn(j); ) ) What is the result?()
A. The program prints “0”
B. The program prints “4”
C. The program prints “8”
D. The program prints “12”
E. The code does not complete.