h.append(s.charAt(i))什么意思

 我来答
百度网友8c2fbc6
2012-06-04 · TA获得超过955个赞
知道小有建树答主
回答量:878
采纳率:0%
帮助的人:303万
展开全部
append添加,追加的意思 charAt是获取s的第i个字符
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
苏州蓝晓生物科技有限公司_
2022-08-05 广告
苏州蓝晓生物科技有限公司。标准化核心产品:公司拥有完整的琼脂糖介质、葡聚糖介质、聚甲基丙烯酸酯介质生产线,年产分离介质50000L,产品质量稳定并达到国际领先水平。核心优势:公司核心技术人员拥有近二十年不同基质的基球开发和官能化的丰富技术经... 点击进入详情页
本回答由苏州蓝晓生物科技有限公司_提供
Airib
2012-06-04 · 超过18用户采纳过TA的回答
知道答主
回答量:93
采纳率:0%
帮助的人:55.4万
展开全部
在字符串h后面追加一个字符
这个字符是字符串s的第(i+1)个字符
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
playertwozsy
2012-06-04 · TA获得超过187个赞
知道答主
回答量:164
采纳率:0%
帮助的人:54.1万
展开全部
在h后面加上s.charAt(i)
多查api
http://docs.oracle.com/javase/7/docs/api/
append

public StringBuffer append(String str)

Appends the specified string to this character sequence.

The characters of the String argument are appended, in order, increasing the length of this sequence by the length of the argument. If str is null, then the four characters "null" are appended.

Let n be the length of this character sequence just prior to execution of the append method. Then the character at index k in the new character sequence is equal to the character at index k in the old character sequence, if k is less than n; otherwise, it is equal to the character at index k-n in the argument str.

Parameters:
str - a string.
Returns:
a reference to this object.
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式