单项选择题
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.0 B.1 C.4 D.Compilation fails.
A.An exception is thrown at runtime B.pw: fido got fido name: bob got bob C.pw: got fido name: bob got bob D.Compilation fails.
A.When using versions of Java technology earlier than 5.0. B.When sharing a StringBuffer among multiple threads. C.When using the java.io class StringBufferInputStream. D.When you plan to reuse the StringBuffer to build more than one string.