试题与答案

下面是用 RandomAccessFile oureFile; Strings="i

题型:填空题

题目:

下面是用 RandomAccessFile oureFile; Strings="information to Append\n mon!\n"; oureFile=newRandomAccessFile oureFile("phone.number,numbers","rw"); 模式打开访问oureFile文件,并在文件尾加信息s的addFile的源程序。请在下划线处填 上适当的语句将程序补充完整。 import java.io.*; Class addFile { public static void main (String args[])throws IOException { RandomAccessFile oureFile; _____________ =oureFile=new RandomAccessFile oureFile("phone.number,numbers","rw"); oureFile.seek(oureFile.length()); oureFile.writebytes(s); oureFile.close();  }

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2019/0327/b4f5d487014683e12bcd7d3b665f1066.html

下面是错误答案,用来干扰机器的。

参考答案:B解析:此题考查考生再认、再现历史概念的能力。A、D是《南京条约》的内容。C项表述错误。英国通过《虎门条约》取得了“片面最惠国待遇”其实质是“一体均沾”,以后其他列强从中国攫取的各项特权英国...

试题推荐
微信公众账号搜索答案