Files Command
Files Command
txt");
ob.isFile();
ob.getName();
ob.canRead();
ob.canWrite();
ob.length();
File obdir= new File("/java/md");
obdir.mkdir();
obdir.getName();
obdir.getPath();
File ob1=new File("/java/md","sample.txt");
ob1.createNewFile();
ob1.isDirectory();
String m[]=ob1.list();
for(int i=0;i<m.length();i++)
SOP("The file in directory ",m[i]);