aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java (GATE)
  • Which of the following is not the method of the scanner c...
Multiple choice

Which of the following is not the method of the scanner class object in Java?

  1. Next()

  2. nextLine()

  3. nextInt()

  4. nextChar()

  5. nextLong()

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is the correct answer.

Keep practicing — related questions

  • Which of the following is not a method of Object class in java?
  • Given: import java.util.*; public class Looking { public static void main(String[] args) { String input = "...
  • Which of the following methods is not present in the Buffer class in Java?
  • Which of the following is not a method of Object class in java?
  • Objects of ___________ class are useful in breaking down the inputs from the user into tokens.
  • Which of the following methods in string class of java searches for the last occurrence of a character or s...
  • Which of the following in java contains print() and println() methods?
  • Which one does not have a ValueOf(String) method?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy