What does java return if nothing is entered in scanner? | SoloLearn: Learn to code for FREE!

+12

What does java return if nothing is entered in scanner?

3/26/2017 3:48:34 AM

Siddharth Saraf

2 Answers

New Answer

+2

Because it counts the nothing as ""

+2

a special indicator value called null like an empty text box. it will also be see to equal "".