Java isDigit() 方法
Java 教程
· 2019-02-08 17:12:31
isDigit() 方法用于判断指定字符是否为数字。
语法
public static boolean isDigit(char ch)
参数
ch -- 要测试的字符。
返回值
如果字符为数字,则返回 true;否则返回 false。
实例
public class Test {
public static void main(String args[]) {
System.out.println(Character.isDigit('c'));
System.out.println(Character.isDigit('5'));
}
}
以上程序执行结果为:
false true
点击查看所有 Java 教程 文章: https://www.codercto.com/courses/l/12.html
The Zen of CSS Design
Dave Shea、Molly E. Holzschlag / Peachpit Press / 2005-2-27 / USD 44.99
Proving once and for all that standards-compliant design does not equal dull design, this inspiring tome uses examples from the landmark CSS Zen Garden site as the foundation for discussions on how to......一起来看看 《The Zen of CSS Design》 这本书的介绍吧!