Answer (e) is not correct. It is like you are saying: the method will be invoked if it is invoked already!!
(c) is more logic.
About Question enthuware.jwpv6.2.1091 :
Moderator: admin
-
- Posts: 2
- Joined: Thu Aug 29, 2013 5:05 am
- Contact:
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1091 :
It is possible for doAfterBody() to not return EVAL_BODY_AGAIN, in which case, the method will not be called.
I see your point but the question is only asking when the method will be invoked. It is not asking when the method will be invoked for the first time.
HTH,
Paul.
I see your point but the question is only asking when the method will be invoked. It is not asking when the method will be invoked for the first time.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 18
- Joined: Wed Jan 06, 2016 7:22 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1091 :
Hi,
Every time that I have answered this question I have chosen the third response: "This method will be called only when doStartTag() returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED.". As I understood if you do not return those values the doAfterBody() method will not be executed the first time.
I read your above comment but still I could not get why the fifth response: "This method will be called if doAfterBody() returns IterationTag.EVAL_BODY_AGAIN." is the right one.
Is there any clue at the question text, that suggest that the question is not talking about the first time execution?
Every time that I have answered this question I have chosen the third response: "This method will be called only when doStartTag() returns Tag.EVAL_BODY_INCLUDE or BodyTag.EVAL_BODY_BUFFERED.". As I understood if you do not return those values the doAfterBody() method will not be executed the first time.
I read your above comment but still I could not get why the fifth response: "This method will be called if doAfterBody() returns IterationTag.EVAL_BODY_AGAIN." is the right one.
Is there any clue at the question text, that suggest that the question is not talking about the first time execution?
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1091 :
If the question were talking about the first time execution only, it would have clearly said so.
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: No registered users and 71 guests