Page 1 of 1

About Question enthuware.jwpv6.2.746 :

Posted: Thu Jun 05, 2014 5:32 am
by deadlock_gr
This question is a bit ambiguous, because it is not specified what doPost() does. For example, it may invoke all of the other methods. In that case, A. is wrong, and B. is correct.

Re: About Question enthuware.jwpv6.2.746 :

Posted: Thu Jun 05, 2014 10:07 am
by admin
In such questions you can safely assume that the code that is not shown is irrelevant to the question. It does not affect the answer.

HTH,
Paul.

Re: About Question enthuware.jwpv6.2.746 :

Posted: Sun Sep 07, 2014 9:20 am
by dhanuddhara
If the first request is a HEAD, PUT, or DELETE, only init() will only get called from the above class. then option one also incorrect.

Actually i am not well in English, so i believe
at the most 2 of its methods will be called.
means 'maximumly 2 of its methods will get called'. :(

Re: About Question enthuware.jwpv6.2.746 :

Posted: Sun Sep 07, 2014 10:33 am
by admin
Option 1 is the only option that is correct.

Re: About Question enthuware.jwpv6.2.746 :

Posted: Tue Mar 17, 2015 2:58 pm
by tanzwud
Hello.
Where is the difference in between this question and question 747.
We have init() at first request then service , then doXXX.
all together 3 no?. Why at this question we only have 2 methods at most?

Re: About Question enthuware.jwpv6.2.746 :

Posted: Tue Mar 17, 2015 11:12 pm
by admin
Because 746 doesn't define service method. Both the questions specify clearly that the options are about the methods defined in the given class.