About Question enthuware.jwpv6.2.746 :

Moderator: admin

Post Reply
deadlock_gr
Posts: 54
Joined: Tue Apr 19, 2011 10:32 am
Contact:

About Question enthuware.jwpv6.2.746 :

Post 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.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.746 :

Post 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.
If you like our products and services, please help us by posting your review here.

dhanuddhara
Posts: 12
Joined: Fri Aug 15, 2014 10:16 am
Contact:

Re: About Question enthuware.jwpv6.2.746 :

Post 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'. :(

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.746 :

Post by admin »

Option 1 is the only option that is correct.
If you like our products and services, please help us by posting your review here.

tanzwud
Posts: 19
Joined: Mon Sep 01, 2014 9:45 pm
Contact:

Re: About Question enthuware.jwpv6.2.746 :

Post 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?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.746 :

Post 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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests