搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单项选择题】

设有定义:String s=“World”;,下列语句错误的是()。

A、A.int m=s.indexOf(‘r’);

B、B.char c=s.charAt(0);

C、C.int n=s.length();

D、D.String str=s.append(‘2’);

更多“设有定义:String s=“World”;,下列语句错误的是()。”相关的问题
第1题

A、 String s = "Gone with the wind";String t = " good ";String k = s + t;  B、 String s = "Gone with the wind";String t;t = s[3] + "one";  C、 String s = "Gone with the wind";String standard = s.toUpperCase();  D、 String s = "home directory";String t = s - "directory";  

点击查看答案
第2题

A、String s = c.readLine();  B、char[] c = c.readLine();  C、String s = c.readConsole();  D、char[] c = c.readConsole();  E、String s = c.readLine("%s", "name ");  

点击查看答案
第3题

A、String s = c.readLine();  B、char[ ] c = c.readLine();  C、String s = c.readConsole();  D、char[ ] c = c.readConsole();  E、String s = c.readLine("%s", "name ");  F、char[ ] c = c.readLine("%s", "name ");  

点击查看答案
第4题

A、String s = "Gone with the wind";  String t = " good ";  String k = s + t;  B、String s = "Gone with the wind";  String t;  t = s[3] + "one";  C、String s = "Gone with the wind";  String standard = s.toUpperCase();  D、String s = "home directory"; String t = s - "directory"  

点击查看答案
第5题

A、String s = “Gone with the wind”;  String t = “ good”;  String k = s + t;  B、String s = “Gone with the wind”;  String t;  t = s[3] + “one”;  C、String s = “Gone with the wind”;  String standard = s.toUpperCase();  D、String s = “home directory”;  String t = s – “directory”;  

点击查看答案
第8题

A、getParameter(String s)  B、getValue(String s)  C、getParameterNamesString s)  D、getParameterValue(String s)  

点击查看答案
第9题

A、 String s = "Gone with the wind";String t = " good ";String k = s + t;  B、 String s = "Gone with the wind";String t; t = s[3] + "one";  C、 String s = "Gone with the wind";String standard = s.toUpperCase();  D、 String s = "home directory";String t = s - "directory";  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服