The getPath() method of URL class is used to get the path part of this URL. It returns an empty string if one does not exist. Syntax. public String getPath().
確定! 回上一頁