Convert char to lowercase java

You can use Character class’s toLowerCase method to convert char to lowercase in java.


Method signature


Parameters

ch is primitive character type.


Return type

return type is char. If char is already lowercase then it will return same.

When you run above program, you will get below output:

a
y
b
z

That’s all about how to convert char to lowercase in java.

Was this post helpful?

Related Posts

Leave a Reply

Your email address will not be published.

Subscribe to our newletter

Get quality tutorials to your inbox. Subscribe now.