📜  如何将char转换为大写java代码示例

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

代码示例1
char first = Character.toUpperCase(userIdea.charAt(0));
betterIdea = first + userIdea.substring(1);