題庫堂
檢索
題庫堂
首頁
數學
英文學習
政治學
統計學
經濟學
藥理學
中醫藥物學
財政學
法學知識
公共行政
警察學
BI規劃師
財務管理
公共衛生學
工程經濟學
電力電子學
當前位置:
首頁
171.Given: 11. String test = "a1b2c3"; 12. String[] tokens = test.split("d"); 13
問題詳情
171.Given: 11. String test = "a1b2c3"; 12. String[] tokens = test.split("d"); 13. for(String s : tokens) System.out.print(s + " "); What is the result?
(A) a b c
(B) 1 2 3
(C) a1b2c3
(D) a1 b2 c3
(E) Compilation fails.
參考答案
上一篇 :
170.Given: 12. String csv = "Sue,5,true,3"; 13. Scanner scanner = new Scanner(csv); 14. sc
下一篇 :
172.Given: 33. Date d = new Date(0); 34. String ds = "December 15, 2004"; 35. //insert cod
資訊推薦
173.Given: 11. public class Yikes{ 12. 13. public static void go(Long n){System.out.print("Long
174.Given: 12. Date date = new Date(); 13. df.setLocale(Locale.ITALY); 14. String s = df.format(date
175.Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object? (
177.Given: 11. String test = "This is a test"; 12. String[] tokens = test.split("s&qu
178.Given: 1. public class Target{ 2. private int i = 0; 3. public int addOne(){ 4. return ++i; 5. }
185.Given: 1. public class Person{ 2. private String name; 3. public Person(String name){this.name
186.Which two statements are true about the hashCode method? (Choose two.)(A) The hashCode method fo
187.Given: 1. public class Score implements Comparable<Score>{ 2. private int wins, losses; 3. publi
189.Given: 23. Object[] myObjects = { 24. new Integer(12), 25. new String("foo"), 26. new
190.Given: 1. import java.util.*; 2. public class WrappedString{ 3. private String s; 4. public Wrap
192.Given: 3. import java.util.*; 4. public class G1{ 5. public void takeList(List<? extends String>
193.Given that the elements of a PriorityQueue are ordered according to natural ordering, and: 2. im
194.Given: enum Example{ONE, TWO, THREE} Which statement is true?(A) The expressions (ONE ==
195.Given: 3. import java.util.*; 4. public class Mapit{ 5. public static void main(String[] args){
196.Given: 34. HashMap props = new HashMap(); 35. props.put("key45", "some value"
197.Given: 11. public static Collection get(){ 12. Collection sorted = new LinkedList(); 13. sorted.
198.Given: 11. public static Iterator reverse(List list){ 12. Collections.reverse(list); 13. return
200.Given: 11. public class Person{ 12. private String name; 13. public Person(String name){ 14. thi
新莊國中七年級學生來到實驗室進行實驗,圖四和圖五為同學所使用的顯微鏡,請回答第 28~35 題:33. 使用圖五的顯微鏡觀察口腔皮膜細胞,若想將圖六影像中右上方的細胞移到視野正中央,要將玻片標本往哪個
【題組】15.哪種生物既是二級消費者,又是三級消費者? (A)鯡魚(B)海豹 (C)比目魚 (D)浮游藻類。
【題組】16.此食物網是屬於哪種生態系? (A)海洋生態系 (B)淡水生態系 (C)河口生態系 (D)森林生態系。
【題組】17.下列何者為此生態系的特徵? (A)依深度可再分為透光層與深海層 (B)有機物含量豐富 (C)環境變動劇烈(D)生產者種類繁多。
【題組】18.若此生態系受到重金屬鎘的汙染,那麼體內可能積存鎘含量最多的生物是哪一種? (A)鯡魚 (B)海豹 (C)比目魚 (D)浮游藻類。
【題組】19.承上題,此種現象稱為什麼? (A)演替 (B)片利共生(C)生物放大作用 (D)生物多樣性。
【題組】20.關於生物與生物之間的互動關係,下列敘述何者錯誤?(A)烏賊與磷蝦是寄生 (B)烏賊與劍水蚤是掠食 (C)烏賊與比目魚是競爭 (D)烏賊與海豹是掠食也是競爭。