You are viewing a single comment's thread. Return to all comments →
boolean flag=StringUtils.reverse(A).compareTo(A)==0; System.out.println(flag?"Yes":"No");
Seems like cookies are disabled on this browser, please enable them to open this website
Java String Reverse
You are viewing a single comment's thread. Return to all comments →
boolean flag=StringUtils.reverse(A).compareTo(A)==0; System.out.println(flag?"Yes":"No");