• 2022-06-06
    3、System类中的getProperty( String key)方法能够获取指定的系统属性值,下列()可以获取当前操作系统的名称。
    A: System类.getProperty( "os.name" );
    B: System类.getProperty( "os.version" );
    C: System类.getProperty( "name" );
    D: System类.getProperty( "version" );