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 the difference between this() and super() in java?
What are the different ways of implementing thread? Which one is more advantageous?
Describe the various concepts related to object oriented programming (oop).
What is the use of System class?
What function extracts specified characters from a string?
Which graphs are functions?
What do you mean by of string::valueof expression in java 8?
What are different data structures in java?
Write a program to print all permutations of string?
Can we extend singleton class?
What does a boolean method return?
What is the difference between compiler and jvm?
What is meant by structural programming?
How do you create a sop?
What is main difference between variable and constant?