|
-
March 21st, 2005, 06:08 PM
#1
How to get user input as integer in console application?
Hello
I am developing a console application in which i need to take user input as integer value. How to get this?
I tried
BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));
Well but but rd does have only readLine method, and i need to read integer?
Sandeep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|