Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do you output integers only?

843810Mar 25 2006 — edited Mar 26 2006
Hey,
im writting a program where a user must enter the size of an array, and then enter the integers for that array. Everything works fine but now I want to show an error message if the user enters a character or a symbol. How do I go about this ?
Any feedback would be appreciated.
Thanks
hp
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2006
Added on Mar 25 2006
1 comment
98 views