[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fP16K5vAdCN_UpbGiIHa3W_7MQimijyzxs12KoQmtxmY":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2024-05-30 15:39:53",147292640,[8,9,10,11],"ab","aqb","aqba","aqbaq",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},14,"482f5b2722d9d02c25976aca75e12805","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F48eba3395437dd881b1b9275a0ad1028.png","java程序设计高级","work_35410647","期末复习","下列选项中,哪个是程序正确的输出结果?() class StringDemo{ public static void main(String[] args){ String s1 = &quot;a&quot;; String s2 = &quot;b&quot;; show(s1,s2); System.out.println(s1+s2); } public static void show(String s1,String s2){ s1 = s1 +&quot;q&quot;; s2 = s2 + s1; } }",[21,32,41,49,58,67,76,85,94,97],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],147292632,[25,26,27,28],"getParent()","getName()","getAbsolutePath()","getPath()","File类中以字符串形式返回文件绝对路径的方法是哪一项","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],147292633,[36,37,38,39],"BuffereOutputStream","FileIutputStream","DataOutputStream","FileReader","下列选项中,那个流使用到了缓冲技术?( )",{"answer":42,"createTime":5,"id":43,"options":44,"question":48,"source":30,"type":31},[],147292634,[45,46,39,47],"Reader","Writer","FileWriter","在程序开发中,经常需要对文本文件的内容进行读取,如果想从文件中直接读取字符便可以使用字符输入流( )",{"answer":50,"createTime":5,"id":51,"options":52,"question":57,"source":30,"type":31},[],147292635,[53,54,55,56],"String getAbsolutePath()","boolean canRead()","boolean createNewFile()","boolean exists()","File类提供了一系列方法,用于操作其内部封装的路径指向的文件或者目录,当File对象对应的文件不存在时,使用哪个方法将新建的一个File对象指定到新文件中.( )",{"answer":59,"createTime":5,"id":60,"options":61,"question":66,"source":30,"type":31},[],147292636,[62,63,64,65],"int indexOf(int ch)","int lastIndexOf(char ch)","int indexOf(String str)","int lastIndexOf(String str)","以下关于String类的常见操作中,哪个是方法会返回指定字符ch在字符串中最后一次出现位置的索引( )",{"answer":68,"createTime":5,"id":69,"options":70,"question":75,"source":30,"type":31},[],147292637,[71,72,73,74],"ca","c","a","as","String s=&quot;itcast&quot;;则s.substring(3,4)返回的字符串是以下选项中的那个",{"answer":77,"createTime":5,"id":78,"options":79,"question":84,"source":30,"type":31},[],147292638,[80,81,82,83],"String str = &quot;abc&quot;","String str = 'abc'","String str = abc","String str = 0","下列选项中,可以正确实现String初始化的是( )",{"answer":86,"createTime":5,"id":87,"options":88,"question":93,"source":30,"type":31},[],147292639,[89,90,91,92],"0.8652963898062596","-0.2","3.0","1.2","下面关于 Math.random()方法生成的随机数,正确的是哪项( )",{"answer":95,"createTime":5,"id":6,"options":96,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":98,"createTime":5,"id":99,"options":100,"question":105,"source":30,"type":31},[],147292641,[101,102,103,104],"只能在构造方法中使用this调用其它的构造方法,不能在成员方法中使用this关键字","在构造方法中,使用this调用构造方法的语句必须位于第一行,且只能出现一 次","this关键字可以用于区分成员变量与局部变量","this可以出现在任何方法中","下列关于this的说法中,错误的是( )"]