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

Alfresco Exam APSCE Topic 7 Question 80 Discussion

Actual exam question for Alfresco's APSCE exam
Question #: 80
Topic #: 7
[All APSCE Questions]

Which of the following code snippets will correctly set the variable. ''upperCaseString'' to an upper case version of the expression which is pass in?

Choose 1 answer:

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Ellsworth
6 days ago
Because Option B uses the toUpperCase() method which converts a string to uppercase.
upvoted 0 times
...
Jamika
6 days ago
Wait, is this a trick question? What if the correct answer is actually 'None of the above'? I'm just kidding, but you never know with these certification exams!
upvoted 0 times
...
Ryan
16 days ago
Why do you think Option B is correct?
upvoted 0 times
...
Beth
17 days ago
Option B is the most concise and straightforward solution. I like it! Plus, it has the added benefit of not making me scratch my head for too long.
upvoted 0 times
Vesta
8 days ago
I agree, Option B is the best choice.
upvoted 0 times
...
Argelia
11 days ago
Option B
upvoted 0 times
...
...
Ellsworth
20 days ago
I disagree, I believe Option B is the correct one.
upvoted 0 times
...
Leigha
29 days ago
Option D is the only one that looks completely wrong to me. Trying to convert a number to uppercase? That's just not going to work.
upvoted 0 times
...
Alexia
30 days ago
I'm pretty sure Option C is the way to go. The 'toUpperCase()' method is being called directly on the expression, which should give us the desired result.
upvoted 0 times
...
Carri
1 months ago
Option A looks like it would work, but I'm not sure if the 'toUpperCase()' method is being used correctly. Hmm, let me think about this...
upvoted 0 times
Adelle
15 days ago
User1: Let's go with Option A then, it should set the variable to an upper case version of the expression.
upvoted 0 times
...
Albina
16 days ago
User2: I agree, Option A seems like the right choice here.
upvoted 0 times
...
Frederick
17 days ago
User1: I think Option A is correct, the 'toUpperCase()' method should convert the string to uppercase.
upvoted 0 times
...
...
Ryan
1 months ago
I think the correct answer is Option C.
upvoted 0 times
...

Save Cancel