String[] elements = { “for”, “tea”, “too” }; String first = (elements.length > 0)? elements[0] null; What is the result?()
第1题:
Given:Andthefollowingfivefragments:publicstaticvoidmain(String...a){publicstaticvoidmain(String.*a){publicstaticvoidmain(String...a){publicstaticvoidmain(String[]...a){publicstaticvoidmain(String...[]a){Howmanyofthecodefragments,insertedindependentlyatline2,compile?()
A.0
B.1
C.2
D.3
E.4
第2题:
下面的哪些程序片断可能导致错误()
第3题:
Which expressions will evaluate to true if preceded by the following code?() String a = "hello"; String b = new String(a); String c = a; char[] d = { ’h’, ’e’, ’l’, ’l’, ’o’ };
第4题:
下面哪些语句能够正确地生成5个空字符串?()
第5题:
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”?()
第6题:
Use System.Web.UI.TemplateControl to group the UI elements.
Use System.Web.UI.HtmlControls.HtmlControl to group the UI elements.
Use System.Web.UI.LiteralControl to group the UI elements.
Use System.Web.UI.WebControls.Literal to group the UI elements.
第7题:
Compilation fails.
An exception is thrown at runtime.
The variable first is set to null.
The variable first is set to elements[0].
第8题:
The set variable contains all six elements from the coll collection, and the order is guaranteed to be preserved.
The set variable contains only three elements from the coll collection, and the order is guaranteed to be preserved.
The set variable contains all six elements from the coil collection, but the order is NOT guaranteed to be preserved.
The set variable contains only three elements from the coil collection, but the order is NOT guaranteed to be preserved.
第9题:
The elements in the collection are ordered.
The collection is guaranteed to be immutable.
The elements in the collection are guaranteed to be unique.
The elements in the collection are accessed using a unique key.
The elements in the collections are guaranteed to be synchronized.
第10题:
put(String name. Object value)
set(String name. Object value)
setAttribute(String name. Object value)
putAttribute(String name. Object value)
addAttribute(String name. Object value)
第11题:
use a defaule formula of 1
use @elements and add 1 to the total
use the @count function instead of @elements
use @texttotime to ensure that all strings arte converted to date-time values
第12题:
String regex="";
String regex=" .";
String regex=".*";
String regex="//s";
String regex="//.//s*";
String regex="//w[/.]+";
第13题:
下面哪个方法设置MIME类型?()
第14题:
Which statement is true for the class java.util.HashSet? ()
第15题:
Which declarations will allow a class to be started as a standalone program?()
第16题:
Which of the following fragments might cause errors?()
第17题:
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"?()
第18题:
Only Report Elements and Formatting
Page Setup、Data Access、Report Elements Analysis and Formatting
Only Formatting、Data Access and Analysis
Only Data Access、Report Elements and Formatting
第19题:
Because these elements are interwoven with each other and cannot be separated without failing to appreciate a film as a whole.
Because films cannot be written down and it is inconvenient to analyze them
Because films elements are too complicated.
Because films need not to be analyzed in detail.
第20题:
Languages (LanguageID, Name)Elements (ElementID, Description)ElementLanguages (ElementID, LanguageID, Text)
Languages (LanguageID, Name)Elements (ElementID, LanguageID, Description, Text)
Languages (LanguageID, Name)ElementTexts (LanguageID, Text)ElementDescriptions (ElementID, Description)
Languages (LanguageID, Name)Elements (ElementID, Description, Text)
第21题:
Compilation fails.
An exception is thrown at runtime.
The variable first is set to null.
The variable first is set to elements[0].
第22题:
String regex = “”;
String regex = “ “;
String regex = “.*“.
String regex = “//s”
String regex = “//.//s*”;
String regex = “//w[ /.] +“;
第23题:
if they would have found a language that shares lexical elements with the Borneans they were studying
had they found a language that shares lexical elements with that of the Borneans they were studying
if they found a language that shares lexical elements with the Borneans they were studying
if they had found a language that shares lexical elements with the Borneans they were studying
if they would have found a language that shares lexical elements with that of the Borneans they were studying