how can i take the inputs from users in java program?
Answer Posted / priyanka
int a;
a=Integer.parseInt(cin.readLine());
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is argument in java?
How are the elements of a gridbaglayout organized?
What is n in java?
Which is faster string or stringbuilder?
What is an example of a constant variable?
How many times finalize method will be invoked? Who invokes finalize() method in java?
Is a copy constructor?
How to print nodes of a Binary tree?
What is a boolean field?
What is the abstraction?
How do you know if a value is nan?
Explain the difference between protected and default access.
Can a serialized object be transferred via network?
Why doesn't the java library use a randomized version of quicksort?
Can a static class have a constructor java?