How to convert a char to a string in Java? - Stack Overflow

How to convert a char to a string in Java? - Stack Overflow

瀏覽:1134
日期:2025-09-28
I have a char and I need a String . How do I convert from one to the other? ... You can use Character.toString(char) . Note that this method simply returns a call to ......看更多