toLowerCase(char) method?

前端 未结 8 1545
醉酒成梦
醉酒成梦 2021-02-14 17:19

Apparently there is a method that takes a char and returns a char: http://download.oracle.com/javase/6/docs/api/java/lang/Character.html#toLowerCase(char)

But I can\'t s

8条回答
  •  长发绾君心
    2021-02-14 17:21

    toLowerCase() is a static method of Character class. So, you will have to use the class name to invoke the method and pass the character which you want to convert to lower case.

    Usage--> Character.toLowerCase()

    Other static methods are--> toUpperCase isLowerCase isUpperCase isDigit isAlphabetic

提交回复
热议问题