File类

1.创建File对象

String pathname = "d:/yh.text";

File file = new File(String pathname);

 

2.常用方法

 

posted @ 2019-04-22 22:11  想看云飞却没风~  阅读(96)  评论(0编辑  收藏  举报