About Question enthuware.jwpv6.2.746 :
Moderator: admin
-
- Posts: 54
- Joined: Tue Apr 19, 2011 10:32 am
- Contact:
About Question enthuware.jwpv6.2.746 :
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.
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.746 :
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.
HTH,
Paul.
-
- Posts: 12
- Joined: Fri Aug 15, 2014 10:16 am
- Contact:
Re: About Question enthuware.jwpv6.2.746 :
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
Actually i am not well in English, so i believe
means 'maximumly 2 of its methods will get called'.at the most 2 of its methods will be called.

-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.746 :
Option 1 is the only option that is correct.
-
- Posts: 19
- Joined: Mon Sep 01, 2014 9:45 pm
- Contact:
Re: About Question enthuware.jwpv6.2.746 :
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?
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?
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.746 :
Because 746 doesn't define service method. Both the questions specify clearly that the options are about the methods defined in the given class.
Who is online
Users browsing this forum: No registered users and 5 guests