作者DisdainU (茎茎濡吮汁)
看板java
标题[问题] 关於File的constructor
时间Mon Oct 31 15:06:10 2016
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://webptt.com/cn.aspx?n=bbs/java/M.1477897573.A.10D.html
※ 编辑: DisdainU (115.82.226.196), 10/31/2016 15:08:33
1F:→ pttworld: 可以直观得知父路径名则没有差别。 10/31 15:16
2F:→ DisdainU: 了解了 谢谢! 10/31 18:09