About Question enthuware.oce-ejbd.v6.2.486 :
Moderators: Site Manager, fjwalraven
About Question enthuware.oce-ejbd.v6.2.486 :
In order to make the throw to happen the argument of the method should be 0. There is nothing about the argument passed to the method so the answer can not be determined. The question should be extended and the value of the argument should be listed to make the question fully correct with the answers.
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.486 :
Hello,
As the explanation explain, the answer to the question does not depend on the value of the argument. i.e. even when this exception is thrown (the case when argument is 0), the transaction under which the bean method was invoked, will not be set for rollback.
HTH,
Paul.
As the explanation explain, the answer to the question does not depend on the value of the argument. i.e. even when this exception is thrown (the case when argument is 0), the transaction under which the bean method was invoked, will not be set for rollback.
HTH,
Paul.
Re: About Question enthuware.oce-ejbd.v6.2.486 :
You are quite correct in this, but the question's purpose is (probably) to test the taker's knowledge, not his skill in puzzle solving. As the question is now, it can be answered by finding the option which is valid for x != 0.admin wrote:the answer to the question does not depend on the value of the argument.
Though, of course, since my goal is to learn, I wouldn't use such methods anyway.

-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.486 :
I see your point. This will be changed asap.Guest wrote:You are quite correct in this, but the question's purpose is (probably) to test the taker's knowledge, not his skill in puzzle solving. As the question is now, it can be answered by finding the option which is valid for x != 0.admin wrote:the answer to the question does not depend on the value of the argument.
Though, of course, since my goal is to learn, I wouldn't use such methods anyway.
thank you for your feedback!
Paul.
Who is online
Users browsing this forum: No registered users and 21 guests