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
Why do we use threads in java?
How to run a JAR file through command prompt?
Is char * a string?
What is the default size of set in java?
Can inner class be public in java?
Differentiate between nested and inner class in java.
Is singleton set an interval?
What is difference between static class and singleton pattern?
Which class represents the socket that both the client and server use to communicate with each other?
Who developed java?
What is a method declaration?
What is the difference between compile-time polymorphism and runtime polymorphism?
can rmi and corba based applications interact ?
Write a factorial program using recursion in java?
Is there a sort function in java?