New course! Every coder should learn Generative AI!
Try a free lesson+ 12
What does java return if nothing is entered in scanner?
2 Answers
+ 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 "".