About Question enthuware.ocpjp.v11.2.3415 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
powerofviva
Posts: 8
Joined: Tue Sep 19, 2023 12:11 pm
Contact:

About Question enthuware.ocpjp.v11.2.3415 :

Post by powerofviva »

But the user did not validate the input right?
so number 2 is also correct? isnt it?

admin
Site Admin
Posts: 10066
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v11.2.3415 :

Post by admin »

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.
If you like our products and services, please help us by posting your review here.

powerofviva
Posts: 8
Joined: Tue Sep 19, 2023 12:11 pm
Contact:

Re: About Question enthuware.ocpjp.v11.2.3415 :

Post by powerofviva »

Ok got it now,
thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 217 guests