About Question enthuware.ocpjp.v7.2.1600 :
Moderator: admin
About Question enthuware.ocpjp.v7.2.1600 :
Actually, both options 1 and 3 are correct. I will not compile, plus it can't throw IOException.
-
- Site Admin
- Posts: 10053
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1600 :
That way, "Overriding method may choose not to throw any exception." is also correct but there is no overriding method given in the code. So before the question of exception arises, you need to see if there is any other error or not.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 53
- Joined: Fri Sep 20, 2013 7:20 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1600 :
Very sneaky question, hmmph
-
- Posts: 9
- Joined: Mon Nov 11, 2013 3:11 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1600 :
Is the exam as sneaky and ambiguous ??
-
- Site Admin
- Posts: 10053
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1600 :
Not all the question on the exam will be so sneaky but yes, there are questions like that so you need to be prepared.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 43 guests