阅读下列程序,请写出该程序的输出结果。

作者:高老师 浏览 1

阅读下列程序,请写出该程序的输出结果。


【正确答案】:s1=this is a string!S2.length=17S3=that is a string!
【题目解析】:显示字符串S1,length()字符串的长度,replace(char oldChar, char newChar), 返回一个新的字符串.

📱 扫码体验刷题小程序

微信小程序二维码

扫一扫使用我们的微信小程序

热门题目

已复制到剪贴板