🎴 Flashcard Mode

Java Basics and AWT Programming

Card1 / 15
Mastered0
Review0
QuestionClick to flip

Which of the following are not the methods of the scanner class object in java?

AnswerClick to flip back
A
nextChar()
💡 Explanation:

There is no function defined in Scanner class to take character input. So, there is no function named nextChar(). So, this is the correct answer.

Change Mode