Java isLowerCase() 方法
Java 教程
· 2019-02-08 17:58:57
isLowerCase() 方法用于判断指定字符是否为小写字母。
语法
boolean isLowerCase(char ch)
参数
ch -- 要测试的字符。
返回值
如果字符为小写,则返回 true;否则返回 false。
实例
public class Test {
public static void main(String args[]) {
System.out.println( Character.isLowerCase('c'));
System.out.println( Character.isLowerCase('C'));
}
}
以上程序执行结果为:
true false
点击查看所有 Java 教程 文章: https://codercto.com/courses/l/12.html
Types and Programming Languages
Benjamin C. Pierce / The MIT Press / 2002-2-1 / USD 95.00
A type system is a syntactic method for automatically checking the absence of certain erroneous behaviors by classifying program phrases according to the kinds of values they compute. The study of typ......一起来看看 《Types and Programming Languages》 这本书的介绍吧!