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
Name few java 8 annotations ?
What is a condition in programming?
What do you understand by java?
Explain access modifiers in java.
What is console based application in java?
How do you add spaces in java?
What is the protected method modifier?
What is final variable?
How to create a thread in java?
What is protected access modifier?
What type of language is java?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
Explain static nested classes ?
Can a main method be declared final?
What does java edition mean?