ICSE Class 10 Computer Applications Question 27 of 32

Input in Java — Question 5

Back to all questions
5
Question

Question 5

Which of the following is not a valid method of the Scanner class?

  1. next()
  2. nextInt()
  3. nextLong()
  4. nextNumber() ✓
Answer