package tom . cat ; import java . io .*; public class JavaApplication49{ public static void main ( String [] args ){ File f = new File (" tom \\ cat \\JavaApplication49. java "); System . out . println ( f . getllame (+是可读的吗:\ n "+ f . canRead (); System . out . println ( f . getName (+"的长度:\ n "+ f .length0); System . out . println ( f . getllame ()+"的绝对路径:\ n "+ f . getAbsolutePath (); File file = new File (" new . text "); if (! file . exists ())( try ( file .createllewFile0; System . out . println ("在当前目录(运行程序的目录)下创建了新文件:\ n "+ file . getllame (); catch ( IOException exp )()