File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes read in an integer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

read in an integer

KwanNok Wong

Joined: Nov 07, 2002
Posts: 5
hi there,
i am doing an assignment of asking user to input data from keyboard.
could u please teach me how to ask users to input an integer by keyboard? i would be appreciated if you could provide me with an example as well.
thanks very much
Haakon Lind

Joined: Sep 18, 2002
Posts: 22
Hi, this is an example I think you`ll understand it:
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Please do not cross post.
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
For further posts please go here.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: read in an integer
It's not a secret anymore!