首页 › 答案 › 题库 › 网课

下面哪个方法可以用于翻转字符串?

下面哪个方法可以用于翻转字符串?
A、reverse()
B、flip()
C、inversed()
D、backward()
正确答案:reverse()
标签:字符串 方法