'''' while comparing the reverse of the string to the original It return TRUE instead of FALSE ''''
import java.io.*;
import java.lang.StringBuilder;
import java.util.*;
public class test {
public static void main(String[] args) {
String A = "java";
StringBuilder str = new StringBuilder();
str.append(A);
System.out.println(str);
System.out.println(str.reverse());
System.out.println(str == str.reverse());
if (str.equals(str.reverse())) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}