[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fa1xbTFbCXZj3YvL__tQXB72hlZ2NE0I1vbodVY7-vW0":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-04-22 16:41:09",139653315,[8,9,10,11],"length","length()","codePointAt()","chatAt()",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},26,"3bedb491489412d6a901cda16180046d","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F03caf8ee1ca5d3cf84d91ca5f08b2517.png","JAVA语言程序设计","8a472e29691e4c7ea4208845dcf166c0","模块5异常处理与常用API测试","获取字符串长度应该使用下列哪个方法?( )",[21,26,36,46,55,64,74,84,94,104],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":28,"id":29,"options":30,"question":35,"source":24,"type":25},[],"2024-04-22 16:41:12",139653316,[31,32,33,34],"编译错误","运行错误","输出23、23和5","输出5、5和23","当编译和运行下列代码时会发生什么?( ). public class Test { public static void main(String[] args) { System.out.println(&quot;&quot; + 2 + 3); System.out.println(2 + &quot;&quot; + 3); System.out.println(2 + 3 + &quot;&quot;); } }",{"answer":37,"createTime":38,"id":39,"options":40,"question":45,"source":24,"type":25},[],"2024-04-22 16:41:13",139653317,[41,42,43,44],"text &gt;&gt; = 3","text[3] = 'a'","int length = text.length()","text+12345","如果String text = &quot;MingRiSoft&quot;;,则以下哪个选项是合法的?( )",{"answer":47,"createTime":48,"id":49,"options":50,"question":54,"source":24,"type":25},[],"2024-04-22 16:41:15",139653318,[31,51,52,53],"输出ABCEDF","输出ABFDE","输出ABCDE","当编译和运行下列代码时会发生什么?( ). public class Test { public static void main(String[] args) { String text = &quot;ABCD&quot;; text += &quot;E&quot;; text.replace(&quot;C&quot;, &quot;F&quot;); System.out.println(text); } }",{"answer":56,"createTime":57,"id":58,"options":59,"question":63,"source":24,"type":25},[],"2024-04-22 16:41:17",139653319,[31,60,61,62],"输出9","输出123456789","运行时出现错误","在编译和运行下列代码时会发生什么?( ). public class Ref { public static void main(String args[]) { String str = &quot;123456789&quot;; char mychar = str.charAt(9); System.out.println(mychar); } }",{"answer":65,"createTime":66,"id":67,"options":68,"question":73,"source":24,"type":25},[],"2024-04-22 16:41:19",139653320,[69,70,71,72],"java.sql","java.Scanner","java.awt","java.util","Scanner类在哪个包中( )",{"answer":75,"createTime":76,"id":77,"options":78,"question":83,"source":24,"type":25},[],"2024-04-22 16:41:20",139653321,[79,80,81,82],"返回a、","的平方B、 返回a、b的最大值","返回a、b的立方","返回a、b的正弦值","下面这段代码的含义是( ). public static double max (double a,double b){return a&gt;b?a:b;}",{"answer":85,"createTime":86,"id":87,"options":88,"question":93,"source":24,"type":25},[],"2024-04-22 16:41:21",139653322,[89,90,91,92],"random()","abs()","sqrt()","sin()","Math类的方法中获取随机数的方法是( )",{"answer":95,"createTime":96,"id":97,"options":98,"question":103,"source":24,"type":25},[],"2024-04-22 16:41:22",139653323,[99,100,101,102],"abcdefgh","AbCDefGh","ABCDEFGH","AbcdefGH","下面代码的执行结果是( )指令. String str = &quot;AbCDefGh&quot;; String lStr = str.toLowerCase()",{"answer":105,"createTime":106,"id":107,"options":108,"question":113,"source":24,"type":25},[],"2024-04-22 16:41:23",139653324,[109,110,111,112],"0","2","1","5","下面代码中i的值是( ). String str = &quot;mingrikeji&quot;; int i = str.indexOf('i'); System.out.println(i)"]