网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
字符串"a://xxk//file.txt"的长度为()。

参考答案

参考解析
更多 “字符串"a://xxk//file.txt"的长度为()。” 相关考题
考题 字符串"a:\\xxk\\数据"的长度为13。 () 此题为判断题(对,错)。

考题 下列InputStream构造方法正确的是()。 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”))

考题 对命令cateFFFfile.txt说法正确的是()? A.把字符串FFF里加到file.txt文件中B.可以输入一些内容,遇到输入FFF后结束,输入的内容加到file1.txtC.从文件FFF中读取内容,输出到file.txt中D.无法执行,会报语法错误

考题 WhichtwoconstructanOutputSreamthatappendstothefile“file.txt”?() A.OutputStreamout=newFileOutputStream(“file.txt”);B.OutputStreamout=newFileOutputStream(“file.txt”,“append”);C.FileOutputStreamout=newFileOutputStream(“file.txt”,true);D.FileOutputStreamout=newFileOutputStream(newfile(“file.txt”));E.OutputStreamout=newFileOutputStream(newFile(“file.txt”)true);

考题 空字符串的长度为__________。

考题 字符串"a://xxk//数据"的长度为13。()A对B错

考题 空字符串的长度为1。()A对B错

考题 用于存储一个长度为n的字符串的字符数组的长度至少为()。

考题 字符串“/‟a/‟xy=4/n”的长度为()。

考题 对于如下程序:  #include    main( )  {    FILE *fp;    fp=fopen(“file.txt”,“w”);    fprintf(fp,“%s”,“xyz”);    fclose(fp);  }  若文件file.txt中原有的内容为good,则运行该程序以后,文件file.txt中的内容为()

考题 Which two construct an OutputSream that appends to the file “file.txt”? ()A、 OutputStream out=new FileOutputStream(“file.txt”);B、 OutputStream out=new FileOutputStream(“file.txt”, “append”);C、 FileOutputStream out=new FileOutputStream(“file.txt”, true);D、 FileOutputStream out=new FileOutputStream(new file(“file.txt”));E、 OutputStream out=new FileOutputStream(new File(“file.txt”)true);

考题 “CHAR(N)”表示()。A、整数NB、单字符NC、长度为N的字符串D、N个字符串

考题 当使用setLength(int length)时,如果length的长度小于原字符串的长度,那么进行setLength操作后当前字符串的长度为length,且后面的字符被删除

考题 用字符数组存储长度为n的字符串,数组长度至少为n+1。

考题 空字符串是指()。A、长度为0的字符串B、只包含空格字符的字符串C、长度为1的字符串D、不定长的字符串

考题 C语言标准库函数""fgets(string,n,fp)""的功能是()。A、从文件fp中读取长度为n的字符串存入指针string指向的内存B、从文件fp中读取长度为n-1的字符串存入指针string指向的内存C、从文件fp中读取n个字符串存入指针string指向的内存D、从文件fp中读取长度不超过长度为n-1的字符串存入指针string指向的内存

考题 Which gets the name of the parent directory file “file.txt”?()A、 String name= File.getParentName(“file.txt”);B、 String name= (new File(“file.txt”)).getParent();C、 String name = (new File(“file.txt”)).getParentName();D、 String name= (new File(“file.txt”)).getParentFile();E、 Directory dir=(new File (“file.txt”)).getParentDir();  String name= dir.getName();

考题 判断题字符串"a://xxk//数据"的长度为13。()A 对B 错

考题 单选题Which gets the name of the parent directory file “file.txt”?()A  String name= File.getParentName(“file.txt”);B  String name= (new File(“file.txt”)).getParent();C  String name = (new File(“file.txt”)).getParentName();D  String name= (new File(“file.txt”)).getParentFile();E  Directory dir=(new File (“file.txt”)).getParentDir();  String name= dir.getName();

考题 填空题字符串“/‟a/‟xy=4/n”的长度为()。

考题 多选题Which two create an InputStream and open file the “file.txt” for reading? ()AInputStream in=new FileReader(“file.txt”);BInputStream in=new FileInputStream(“file.txt”);CInputStream in=new InputStreamFileReader (“file.txt”, “read”);DFileInputStream in=new FileReader(new File(“file.txt”));EFileInputStream in=new FileInputStream(new File(“file.txt”));

考题 单选题空字符串是指()。A 长度为0的字符串B 只包含空格字符的字符串C 长度为1的字符串D 不定长的字符串

考题 填空题对于如下程序:  #include    main( )  {    FILE *fp;    fp=fopen(“file.txt”,“w”);    fprintf(fp,“%s”,“xyz”);    fclose(fp);  }  若文件file.txt中原有的内容为good,则运行该程序以后,文件file.txt中的内容为()

考题 多选题创建一个向文件“file.txt”追加内容的输出流对象的语句有()。AFileOutputStream out=new FileOutputStream(“file.txt”,true);BOutputStream out=new FileOutputStream(“file.txt”,“append”);COutputStream out=new FileOutputStream(“file.txt”);DFileOutputStream out=new FileOutputStream(new file(“file.txt”));EOutputStream out=new FileOutputStream(new File(“file.txt”),true.;

考题 填空题空字符串的长度为()。

考题 填空题用于存储一个长度为n的字符串的字符数组的长度至少为()。

考题 填空题字符串"a://xxk//file.txt"的长度为()。