When using Okta Expression Language, which of the following will have the output: This is a test
Solution: String.append("This is", " a test")
Suggested Answer: A
Get Premium Okta Certified Administrator Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
26 comments · newest first
DU
Dudley
6 months ago
I feel confident about A) Yes. The output looks correct to me.
RE
Renato
6 months ago
I'm not so sure. Could be B) No. What if there's a syntax issue?
LO
Loreta
6 months ago
I agree, A) Yes. String.append should work.
AL
Alfreda
6 months ago
I think the answer is A) Yes. It makes sense.
MY
My
6 months ago
Yup, that's how String.append works!
AL
Alberta
6 months ago
Wait, are you sure about that?
CL
Clorinda
7 months ago
No way, I thought it was wrong.
TA
Tarra
7 months ago
I thought it would be "This is a test" too!
KE
Kendra
7 months ago
That's definitely correct, it outputs "This is a test".
IL
Ilona
7 months ago
String.append() is the way to go for this one.
AD
Adell
7 months ago
Haha, I always get these Okta questions mixed up.
AN
Andra
8 months ago
Looks good to me!
JU
Jules
8 months ago
I'm pretty sure that's the right solution.
EL
Eloisa
8 months ago
This is the correct answer.
BE
Beth
9 months ago
I thought String.append would return the combined string, but I have a nagging doubt about the syntax in Okta.
EL
Elvera
9 months ago
I feel like the answer is A) Yes because appending should give us the full string, but I might be mixing it up with another language.
AH
Ahmed
9 months ago
I remember practicing a similar question where we had to concatenate strings, but I can't recall if append is the right method here.
MA
Magnolia
9 months ago
I think the String.append method should combine the strings, but I'm not entirely sure if it works that way in Okta Expression Language.
DE
Devorah
9 months ago
This seems like a good opportunity to apply my knowledge of string manipulation. I'll give it my best shot.
VI
Viki
9 months ago
I'm a little confused by the wording of this question. Let me re-read it a few times to make sure I understand what they're asking.
CL
Clare
10 months ago
Okay, the key here is understanding how the String.append() function works. I'm confident I can figure this out.
RO
Rosendo
10 months ago
I'm a bit unsure about this one. The Okta Expression Language is new to me, so I'll need to think it through carefully.
ER
Erinn
10 months ago
Hmm, this looks straightforward. I think I'll try the String.append() approach and see if it works.
AN
Anissa
4 months ago
Can't wait to test it out myself!
CR
Cristy
4 months ago
Definitely! It should give the expected output.
YA
Yaeko
5 months ago
I agree, String.append() seems like the right choice.