问题是StringBuilder(myString).reverse()将返回一个StringBuilder对象,你需要从中获取字符串值.
StringBuilder(myString).reverse()
StringBuilder
new StringBuilder(myString).reverse().toString()