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