Java String Reverse

  • + 0 comments
        System.out.println(A.contentEquals(new StringBuilder(A).reverse())?"Yes":"No");