New course! Every coder should learn Generative AI!
Try a free lesson0
file out put stream
What would be the outcome if a Java program tries to create a new FileOutputStream but the specified file does not exist.
1 Answer
+ 17
Throw erroer
FileNotFoundException