Convert char to uppercase java

Previous
Next

You can use Charater class’s touppercase method to convert char to uppercase in java.


Method signature


Parameters

ch is primitive character type.


Return type

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

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

A
Y
F
U

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

Previous
Next

Add Comment