how can i take the inputs from users in java program?
Answer Posted / dilshad
there r 2 ways to give the input ,
one is from command-line argument at run time.......
and the another one is to use readLine method of
DataInputStream class.............
| Is This Answer Correct ? | 33 Yes | 1 No |
Post New Answer View All Answers
How do you escape a string?
Can we write class inside a class in java?
What data structures are used to perform recursion?
How can we use primitive data types as objects?
Explain when noclassdeffounderror will be raised ?
What is difference between iterator access and index access?
What is integers and example?
How do you break a loop?
Can we have any code between try and catch blocks?
Where to store local variables?
What is the static import?
How do you check if a character in a string is a digit or letter?
What is void in java?
What is your platform?s default character encoding and how to know this?
What is null data type?