在Java中,可以使用`System.getProperty()`方法來獲取系統屬性。該方法接受一個系統屬性的名稱作為參數,并返回該屬性的值。下面是使用`System.getProperty()`的示...