File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

arrays?

 
Jeremy Swain
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
hello all. i am working on a program that decides if a word or a sentence is a palindrome. this is my first time using JOption. here is my code:
 
Jeremy Swain
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
sorry, i accidently added this twice. please disregard this post.
 
Stuart Ash
Ranch Hand
Posts: 637
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why are you mixing algorithm and presentation??

Code two classes:

PalindromeFinder and PalindromeUI.

Implement the logic in the finder, the UI gets the input from the user.
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic