How do you output integers only?

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

[323 byte] By [HaloPolicea] at [2007-10-2 15:56:22]
# 1
Integer.parseInt(String s)
jwstudenta at 2007-7-13 16:15:42 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...