exam questions

Exam UiADPv1 All Questions

View all questions & answers for the UiADPv1 exam

Exam UiADPv1 topic 1 question 69 discussion

Actual exam question from UiPath 's UiADPv1
Question #: 69
Topic #: 1
[All UiADPv1 Questions]

A developer has created a string array variable as shown below:
UserNames = {“Jane”, “Jack”, “Jill”, “John”}

Which expression should the developer use in a Log Message activity to print the elements of the array separated by the string “,”?

  • A. String.Join(“,”, UserNames)
  • B. String.Concat(UserNames, “,”)
  • C. String.Concat(“,”, UserNames)
  • D. String.Join(UserNames, “,”)
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Karthiiii28
5 months ago
Selected Answer: A
Proper format for join and for collections and lists we need to use join method to print elements
upvoted 1 times
...
LarcAi_Training
11 months, 3 weeks ago
Selected Answer: A
The answer is A, Tried and tested in Studio.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago