Problem:
https://practiceit.cs.washington.edu/...
Question:
Write a method named getFileName that repeatedly prompts the user for a file name until the user types the name of a file that exists on the system. Once you get a good file name, return that file name as a String. Here is a sample dialogue from one call to your method, assuming that the file good.txt does exist and the others do not:
Type a file name: bad.txt
Type a file name: not_here.txt
Type a file name: good.txt
Auf dieser Seite können Sie das Online-Video Java Practice It || 6.21 getFileName || file processing, input, scanner, method mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Computer Engineering life 07 Juni 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 786 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!