多选题 Given:
1. import java.util.*;
2. public class PirateTalk {
3. public static void main(String... arrrrgs) {
4. Properties p = System.getProperties();
5. p.setProperty("pirate", "scurvy");
6. String s = p.getProperty("argProp") + " ";
7. s += p.getProperty("pirate");
8. System.out.println(s);
9. } }
And the command-line invocation:
java PirateTalk -DargProp="dog,"
What is the result?
【正确答案】 B
【答案解析】