会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
~驰~
博客园
首页
新随笔
联系
订阅
管理
2017年8月30日
java路径两种写法"/"和"\\"
摘要: String path="D:\\新建文件夹\\2.png"; File file=new File(path); System.out.println(file.exists()); String path1="D:/新建文件夹/2.png"; File file1=new File(path);
阅读全文
posted @ 2017-08-30 14:10 ~驰~
阅读(30138)
评论(1)
推荐(5)
公告