package test;
 
import java.io.File;
 
public class FileTest {
 
    public static void main(String[] args) throws Exception {
        File f = new File("C:/A");
        if (f.mkdir()) {
            System.out.println("建立成功");
        } else {
            System.out.println("建立失敗");
        }
    }
}
arrow
arrow
    全站熱搜

    黃彥霖 發表在 痞客邦 留言(0) 人氣()