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
Explain about interthread communication and how it takes place in java?
What is arrays fill in java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
difference between byte stream class and character stream class?
why Interface used?
Tell me how many ways are there to initialise an integer with a constant.
What does the three dot emoji mean?
What is a superclass?
What are multiple inheritances? Is it supported by java?
What is the main method java?
What is the difference between Java and C++?
What is a modifier?
Can a final variable be null?
What is volatile keyword in java
What is the final keyword denotes?