MCD-LEVEL-1 · Question #167
Refer to the payload. The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]" What is the…
The correct answer is C. 1. 1. "You called the function '++' with these arguments. Correct answer is as below as concatenation operation works only with string and not with the objects. In this case payload is object. "You called the function '++' with these arguments: 1: String ("INFO") 2: Object ({student: {name: "Anay" as String {class…
Question
Refer to the payload. The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]" What is the output of logger when this flow executes?
Exhibit
Options
- AResult INFOpayload
- BResult INFO{"student":{"name":"Anay","age":6}}
- C
-
- "You called the function '++' with these arguments:
-
- DError : You evaluated inline expression # without ++
How the community answered
(32 responses)- A9% (3)
- B28% (9)
- C44% (14)
- D19% (6)
Explanation
Correct answer is as below as concatenation operation works only with string and not with the objects. In this case payload is object. "You called the function '++' with these arguments: 1: String ("INFO") 2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age
Topics
Community Discussion
No community discussion yet for this question.
