[問題] 關於File的constructor

看板java作者 (莖莖濡吮汁)時間8年前 (2016/10/31 15:06), 8年前編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
File(File parent,String child) Creates a new File instance from a parent abstract pathname and a child pathname string File(String parent,String child) Creates a new File instance from a parent pathname string and a child pathname string 這兩個是File的constructor 想問的是 第一個constructor說明中的 parent abstract pathname 和 第二個constructor 中的parent pathname string 有什麼差別 有餵過狗了 礙於英文不好 所以看不大懂.. 手機排版 請見諒 ----- Sent from JPTT on my Sony D6653. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 115.82.226.196 ※ 文章網址: https://www.ptt.cc/bbs/java/M.1477897573.A.10D.html ※ 編輯: DisdainU (115.82.226.196), 10/31/2016 15:08:33

10/31 15:16, , 1F
可以直觀得知父路徑名則沒有差別。
10/31 15:16, 1F

10/31 18:09, , 2F
瞭解了 謝謝!
10/31 18:09, 2F
文章代碼(AID): #1O5krb4D (java)
文章代碼(AID): #1O5krb4D (java)