# Properties类 如果需要使用Properties类在控制台打印出JVM参数,下面的代码正确的是: ## 答案 A ## 选项 ### A ```Java public void test() { Properties properties = System.getProperties(); properties.list(System.out); } ``` ### B ```Java public void test() { Properties properties = new Properties(); properties.list(System.class); } ``` ### C ```Java public void test() { Properties properties = new Properties(); properties.print(System.out); } ``` ### D 以上都不是