多选题 Given this code in a method:
5. String s = "dogs. with words.";
6. // insert code here
7. for(String o: output)
8. System.out.print(o + " ");
Which of the following, inserted independently at line 6, will produce output that contains the String "dogs"? (Choose all that apply.)
【正确答案】 C、D、F
【答案解析】