摘要:
import java.util.Scanner; public class Zhouhai { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("请输入一字符串:"); String a = input.nextLine(); shaoshao(a.toLowerCase()); } public static void ... 阅读全文
posted @ 2013-01-14 17:23
邵邵
阅读(173)
评论(0)
推荐(0)
摘要:
2013年 1月 13日字符类Character+charvalue() : char 从这个对象里返回char的值+compareTo(anotherCharacter : Character) : int 将这个字符与其他字符进行比较+equals(anotherCharacter : Character) : boolean 如果这个字符等于另一个字符则返回true+isDigit(ch : char) : boolean 如果这个字符是一个数字符返回true+isLetterOrDigit(ch : char... 阅读全文
posted @ 2013-01-14 16:57
邵邵
阅读(390)
评论(0)
推荐(0)
浙公网安备 33010602011771号