FileSystem Object有两个方法,分别为CreatText File方法和OpenText File方法。
第1题:
A、InputStream in=new FileReader(“file.txt”)
B、InputStream in=new FileInputStream(“file.txt”)
C、InputStream in=new InputStreamFileReader (“file.txt”,“read”)
D、FileInputStream in=new FileReader(new File(“file.txt”))
第2题:
A user reports that they are getting an error when trying to save a video file to a share on a server running Windows Server 2003. The administrator looks at the file and finds that it is 5GB. The administrator checks the server and finds that the server has 100GB of free space. This file needs to be saved on the server.Which of the following should the administrator do to accomplish this?()
A. Convert the filesystem to EXT3.
B. Convert the filesystem to VMFS.
C. Convert the filesystem to NTFS.
D. Convert the filesystem to FAT32.
第3题:
File类中,获得文件路径的方法是______。
第4题:
File类中的listFiles()方法说法正确的是()。
第5题:
第6题:
A、File(StringfileName)
B、File(Filedirectory)
C、File(Stringdirectory,StringfileName)
D、File(Filedirectory,StringfileName)
第7题:
The(72)turns the source file into an object file and the(73)turns the object file into an executable file.
A.translator
B.compiler
C.interpreter
D.linker
第8题:
下面创建一个新文件对象方法错误的是( )。
A.File myFile; myFile=new File("mulu/file");
B.File myFile=new File();
C.myFile=new FileC/mulu","filel");
D.File myDir=new file("/mulu"); myFile=new File(Dir, "filer');
第9题:
An application writes to a log file in the /logs filesystem that is full. After the log file is deleted, 'df' still shows the filesystem as 100% full. What is the likely cause of the problem and what will resolve it?()
第10题:
File类提供实现文件读写的操作方法。