| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
1 comments so far (post your own) View All Comments Latest 10 Comments:i need help of my prg in palindrome
class Palindrome
{
public static void main(String[] args) throws IOException
{
String str[]=new String[1];
String dest[]=new String[1];
int j=0;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the String to Palindrome");
int i=str.length;
for(i=(i-1);i>=0;i--)
{
str[i]=br.readLine();
dest[j]=str[i];
j++;
}
//if(dest.compareTo(str)==0)
if(str.equals(dest))
{
System.out.println("String are Palindroome");
}
else
{
System.out.println("not palindrome");
}
}
}
plz correct the program
thanks in adv
Posted by Siva on Tuesday, 02.12.08 @ 19:23pm | #48041