📜  charat(0).touppercase() java 代码示例

📅  最后修改于: 2022-03-11 14:52:16.005000             🧑  作者: Mango

代码示例1
string s="hello";
s = Character.toUpperCase(s.charAt(0)) + s.substring(1);
The output will be: Hello