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
What is method reference?
What is the purpose of interface?
What is difference between final and immutable?
What is preflight request?
Explain the importance of finally block in java?
Can java arraylist hold different types?
What is final keyword in java? Give an example.
What is difference between static variable and global variable?
Can we instantiate interface in java?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
In Java list the methods that can be overridden?
What is meant by overloading?
What is unmodifiable collection in java?
Where is const variable stored?
What is the static import?