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://www.codercto.com/courses/l/12.html

查看所有标签

Web 2.0 Architectures

Web 2.0 Architectures

Duane Nickull、Dion Hinchcliffe、James Governor / O'Reilly / 2009 / USD 34.99

The "Web 2.0" phenomena has become more pervasive than ever before. It is impacting the very fabric of our society and presents opportunities for those with knowledge. The individuals who understand t......一起来看看 《Web 2.0 Architectures》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具