import java.util.*;
class PropTest
{
public static void main(String[] args)
{
Properties pps=System.getproperties();
pps.list(System.out);
}
}
提示错误如下:
PropTest.java:68: 需要 "class" 或 "interface"
8
^
1 错误
class PropTest
{
public static void main(String[] args)
{
Properties pps=System.getproperties();
pps.list(System.out);
}
}
提示错误如下:
PropTest.java:68: 需要 "class" 或 "interface"
8
^
1 错误
你的class的68行是什么,贴出来看看
import java.util.*;public class PropTest {
public static void main(String[] args)
{
Properties pps=System.getProperties();
pps.list(System.out);
}
} 输出系统属性