AMA University Answers
Login
Register
AMA OED
Courses
ITE
ITE-6104
Which of the following is a va...
Which of the following is a valid statement to accept String input?
String num = scannextText();
None of the above
string str = scannextShort();
String str = JOptionPaneshowInputDialog("");
Correct
String str = scannextString();
Feedbacks
PreciousBoar
-
2 years ago
Downvoted this question
Similar ITE-6104 questions
Which of the following is a valid nexDouble() return value?
What type of value does the nextLine() returns?
Which of the following is a valid nextInt() return value?
Which of the following is a valid statement to accept int input? Let us assume that we have declared...
What will happen if you use JOptionPane. showInputDialog statement in your program?
Which is not a decision control structure?