Directory (directory)

xiaoxiao2021-03-31  200

// Using Directories.Import java.io.file; class dirlist {public static void main (string "args) {string strDirName =" c: / winnt "; file f1 = new file (strDirciRName); if (f1.Isdirectory ()) {System.out.println ("Directory of" strDirName; string s [] = f1.list ();

For (int i = 0; i

转载请注明原文地址:https://www.9cbs.com/read-130847.html

New Post(0)