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

Problem with returning a boolean value...

 
Jame Sutton
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem got this method working...the goal of this method is to be able to delete the last entry entered on a scanner...But after I enter the sames number nothing happen...Have an idea why?Thank!




 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33671
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are you setting the objects in monArraycaseSimple? Can you try outputting them right before the for loop? Also, try outputting the results from the scanner so you can see if they match what you are expecting.

It seems odd to me that you have three different Scanner objects. Why not just use one?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic