TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Legolas
NA
81
176.4k
Keyboard Input in Java
Jul 19 2011 5:52 AM
Hi,
I am using JDK 1.6 and creating a simple program in which I need to accept an integer value from the keyboard. I am using the following code to do it
int a = (int) System.in.read();
It works but when I print the value it is not the same as inserted.
What's the problem ......... ?
Please Reply!!!
Reply
Answers (
3
)
Serialization
No 1 Social networking Site