Advertisements
Advertisements
प्रश्न
Which of the following method will accept a string by using scanner object?
पर्याय
next()
next.read()
next.String()
next.char()
MCQ
उत्तर
next()
Explanation:
next() reads a single word (string) from the input using a Scanner object.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?