But the user did not validate the input right?
so number 2 is also correct? isnt it?
About Question enthuware.ocpjp.v11.2.3415 :
Moderator: admin
-
- Posts: 8
- Joined: Tue Sep 19, 2023 12:11 pm
- Contact:
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v11.2.3415 :
There is nothing to validate in the input. The input is a file name and if the file name is incorrect, there will be an exception as indicated by the throws clause.
The real issue in the code is opening unlimited number of files.
The real issue in the code is opening unlimited number of files.
If you like our products and services, please help us by posting your review here.
-
- Posts: 8
- Joined: Tue Sep 19, 2023 12:11 pm
- Contact:
Re: About Question enthuware.ocpjp.v11.2.3415 :
Ok got it now,
thanks
thanks
Who is online
Users browsing this forum: No registered users and 121 guests