package com.shujia.day12;
/*
Character:是基本数据类型char的包装类
成员方法:
public static boolean isUpperCase(char ch) 判断是否为大写
public static boolean isLowerCase(char ch) 判断是否为小写
public static boolean isDigit(char ch) // 判断字符内容是否是数字
public static char toUpperCase(char ch) 转大写
public static char toLowerCase(char ch) 转小写
*/
public class CharacterDemo1 {
public static void main(String[] args) {
// Character c1 = 'a';
// Character c2 = new Character('c');
System.out.println(Character.isUpperCase('A'));
System.out.println(Character.isLowerCase('A'));
System.out.println(Character.isDigit('q'));
System.out.println(Character.toUpperCase('a'));
System.out.println(Character.toLowerCase('A'));
}
}