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

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


【正确答案】:s1=this is a string!(2分)
s2.length=17(2分)
s3=That Is A String!(2分)
【题目解析】:显示字符串S1,length()字符串的长度,replace(char oldChar, char newChar), 返回一个新的字符串.