public class CharacterMethod {
public static void main(String[] args) {
Character char1 = new Character('c');
char char2 = Character.toUpperCase(char1);
System.out.println(char1+"是大写字母"+ Character.isUpperCase(char1));
System.out.println(char1 + "是小写字母" + Character.isLowerCase(char1));
System.out.println(char2 + "是大写字母"+Character.isUpperCase(char2));
}
}
已有 22658 名学员学习以下课程通过考试
最需教育客户端 软件问题一手掌握
去 App Store 免费下载 iOS 客户端
点击加载更多评论>>