Scanning a String Instead of a File

Avoid the easy mistake of scanning the file name as text — learn to link your Scanner to the actual file. Along the way, we’ll review handling FileNotFoundException with a try-catch and the quick keyboard shortcut to check if an import is needed.

Complete and Continue  
Discussion

0 comments