问答题现有一个字符串:“welcome to China!”,要求使用代码实现将该字符串转换成以下格式:“WelcomeToChina!”。

您可能感兴趣的试卷

你可能感兴趣的试题

6.多项选择题下面哪段语法执行正确()

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";

7.多项选择题关于JAVA中数据类型描述正确的是()

A.double型是基本数据类型
B.Double型是基本数据类型
C.double型是引用数据类型
D.Double型是引用数据类型