System.getProperty("os.name")在不同操作系统下的输出

System.getProperty(os.name)在不同操作系统上的输出System.out.println(System.getProperty(os.name)

System.getProperty("os.name")在不同操作系统上的输出

System.out.println(System.getProperty("os.name"));

?

操作系统输出linuxLinuxwindowsWindows XP