Answers

2014-03-06T13:43:28+05:30
Import java.util.Scanner;
public class Palingdrom {
     public static void main(String[] args) {
 
         String original = "aba", reverse="";
         int length = original.length();
         for ( int i = length - 1 ; i >= 0 ; i-- ) 
             reverse = reverse + original.charAt(i);
       if (original.equals(reverse))
         System.out.printf("%s is a palindrome.",original);
      else
         System.out.printf("%s is not a palindrome.",original);
    }
}
1 1 1
2014-03-13T10:37:33+05:30
I hope input is from usser.
import java.io.*;
public class a
{
public static void main(String args[])
{
--------------------comanda-------------------------- 

StringBuffer a=new StringBuffer(Buffername.readLine());
StringBuffer b=a;
StringBuffer c=a.reverse();
If(c=b);
{
Palindrome

esle
not..
0