如何定义一个文件读写变量? A: FILE *file; B: FILE file; C: FILE &file; D: file *file;
如何定义一个文件读写变量? A: FILE *file; B: FILE file; C: FILE &file; D: file *file;
使用File file=new File("c:myletter
使用File file=new File("c:myletter
创建一个d盘aa文件夹下news.txt文件对象,以下正确的是 A: File file = new File("d:/aa"); B: File file = new File("d:/aa/news.txt"); C: File file = new File("d:/news.txt"); D: File file = new File("d:\aa\news.txt");
创建一个d盘aa文件夹下news.txt文件对象,以下正确的是 A: File file = new File("d:/aa"); B: File file = new File("d:/aa/news.txt"); C: File file = new File("d:/news.txt"); D: File file = new File("d:\aa\news.txt");
创建文件file的命令是()。 A: mv file B: mkdir file C: rm file D: cp file
创建文件file的命令是()。 A: mv file B: mkdir file C: rm file D: cp file
下列__________说法是正确的?I:File file = new File("input.txt");try (Scanner input = new Scanner(file)) { String line = input.nextLine();}II:try (File file = new File("input.txt"); Scanner input = new Scanner(file);) { String line = input.nextLine();}III:File file;try (file = new File("input.txt"); Scanner input = new Scanner(file);) { String line = input.nextLine();}IV:File file;Scanner input;try (file = new File("input.txt"); input = new Scanner(file);) { String line = input.nextLine();} A: I B: II C: III D: IV
下列__________说法是正确的?I:File file = new File("input.txt");try (Scanner input = new Scanner(file)) { String line = input.nextLine();}II:try (File file = new File("input.txt"); Scanner input = new Scanner(file);) { String line = input.nextLine();}III:File file;try (file = new File("input.txt"); Scanner input = new Scanner(file);) { String line = input.nextLine();}IV:File file;Scanner input;try (file = new File("input.txt"); input = new Scanner(file);) { String line = input.nextLine();} A: I B: II C: III D: IV
3.1 下面是创建File对象的语句,错误的是( ) A: File f=new File("d:\\text.txt"); B: File f=new File("d: "); C: File f=new File("d:","text.txt"); D: File f=new File("d:\text.txt");
3.1 下面是创建File对象的语句,错误的是( ) A: File f=new File("d:\\text.txt"); B: File f=new File("d: "); C: File f=new File("d:","text.txt"); D: File f=new File("d:\text.txt");
gcc哪个选项可以指定可执行文件名为file,不是默认的a.out: A: -o file B: -c file C: -O file D: -C file
gcc哪个选项可以指定可执行文件名为file,不是默认的a.out: A: -o file B: -c file C: -O file D: -C file
下面不属于File类构造方法的是()。 A: File(String filename) B: File(String directoryPath,String filename) C: File(File f, String filename) D: File( )
下面不属于File类构造方法的是()。 A: File(String filename) B: File(String directoryPath,String filename) C: File(File f, String filename) D: File( )
93.为文件file创建软链接的命令是 A: ln file B: ls file C: ll -n file D: ln -s file
93.为文件file创建软链接的命令是 A: ln file B: ls file C: ll -n file D: ln -s file
下列语句中,将c定义为文件类型指针的是( ) A: FILE c; B: FILE *c; C: file c; D: file *c;
下列语句中,将c定义为文件类型指针的是( ) A: FILE c; B: FILE *c; C: file c; D: file *c;