String hostname = addr.getHostName();. System.out.println("Local host name: "+hostname);. }} 以上代碼運行輸出結果為:.
確定! 回上一頁