Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2B Commerce Developer Topic 2 Question 31 Discussion

Actual exam question for Salesforce's B2B Commerce Developer exam
Question #: 31
Topic #: 2
[All B2B Commerce Developer Questions]

How are variables bound when services use the ccSercviceDao classto execute queries?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Rosalind
1 days ago
Hmm, I'm torn between B and C. Maybe I should just roll a die to pick the answer. Or maybe the ccServiceDao class has a built-in crystal ball to determine the best variable binding method.
upvoted 0 times
...
Jolene
5 days ago
B) Apex local variables - easy peasy! The ccServiceDao class is probably using those temporary variables to build the query dynamically.
upvoted 0 times
...
Cheryll
12 days ago
I'm not sure, but I think it might be Apex local variables.
upvoted 0 times
...
Vashti
15 days ago
A) Global variables? Really? That's way too broad of a scope for a service-level operation. I'm going with C, string substitution.
upvoted 0 times
...
Carman
15 days ago
I believe it could also be String substitution.
upvoted 0 times
...
Ria
18 days ago
D) Apex class variables - that's gotta be it! The ccServiceDao class is part of the Apex framework, so it makes sense to use class-level variables.
upvoted 0 times
...
Lizette
20 days ago
I think the answer is C. String substitution seems like the most logical way to bind variables when executing queries with the ccServiceDao class.
upvoted 0 times
...
Venita
20 days ago
I think variables are bound using Apex class variables.
upvoted 0 times
...

Save Cancel