重要提示:请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
首页 > 计算机科学与技术> Java语言程序设计
网友您好,请在下方输入框内输入要搜索的题目:
搜题
拍照、语音搜题,请扫码下载APP
扫一扫 下载APP
题目内容 (请给出正确答案)
[单选题]

若有定义String s=“I am a good cat“;则s.indexOf(“a“,7)的值为()。

A.7

B.13

C.14

D.8

答案
查看答案
更多“若有定义String s=“I am a good cat“;则s.indexOf(“a“,7)的值为()。”相关的问题

第1题

串S=”I am a worker″的长度是10。()
串S=”I am a worker″的长度是10。()

A.正确

B.错误

点击查看答案

第2题

已知如下定义:String s = "story"; 下面哪个表达式是合法的()

A.s += "books"

B. char c = s[1]

C. int len = s.length

D. String t = s.toLowerCase()

点击查看答案

第3题

串S=“I am a worker”的长度是10。()
串S=“I am a worker”的长度是10。()

A.正确

B.错误

点击查看答案

第4题

下列程序段执行后的结果是()。String s=new String(“abcdefg”); for(int i=0;i
下列程序段执行后的结果是()。String s=new String(“abcdefg”); for(int i=0;i

A.aceg

B.abcdefg

C.abcd

D.ACEG

点击查看答案

第5题

I am ______ see the sights of China's capital city.A.impatient withB.impatient toC.depend

I am ______ see the sights of China's capital city.

A.impatient with

B.impatient to

C.depend on

D.depend of

点击查看答案

第6题

Neither John nor I _____ able to persuade Richard’s grandfather to attend the wedding.

A、am

B、are

C、are to be

D、is

点击查看答案

第7题

Wow! This is a marvelous room! I’ve never known you’re so artistic. ______
A.Thanks for your compliments.

B.Don’t mention it.

C.It’s fine.

D.Great, I am very art-conscious.

点击查看答案

第8题

I am sorry I broke your mirror. -Oh, really ___.
A.It's Ok with me

B.Don't be sorry

C.I don't care at all

D.It doesn't matter

点击查看答案

第9题

下列哪些语句是正确的()。A. int a[][]=new int[][3];B. int a[][]={{1,3},{2,3,4},{1,2}};C.

下列哪些语句是正确的()。

A. int a[][]=new int[][3];

B. int a[][]={{1,3},{2,3,4},{1,2}};

C. String s[][]=new String[2][];

D. String s[][]={{"can","I"},{"help","you"}}

点击查看答案

第10题

—Could you be so kind as to turn down that rock “n” roll? I am preparing for tomorrow’s exam. —_______
A.It’s none of your business.

B.What are you doing?

C.Sure. Sorry to disturb you.

D.No, I don’t think so.

点击查看答案

第11题

Ellen:You know,I really don’t like those big hotels. Tom:__________.Let’s stay in a cabin.
It’11 be much nicer right beside the ocean.

A.Me,too

B.Neither do I

C.Nor am I

D.I"m not,either

点击查看答案
下载APP
关注公众号
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案 购买前请仔细阅读《购买须知》
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《服务协议》《购买须知》
立即支付 系统将自动为您注册账号
已付款,但不能查看答案,请点这里登录即可>>>
请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
请用微信扫码测试
优题宝