The "arrayOfPomtsGalnedByPanicipant" Object array is created and initialized with the following values: {"7", "4", "1"}.
Which is the value and data type returned, at runtime, by arrayOfPointsGainedByParticipant(1)?
- Value: 4
Data Type: Object - Value: 7 Data Type String
- Value: 4
Data Type: String - Value: 7
Data Type: Object
Answer(s): C
Explanation:
Given the array "arrayOfPointsGainedByParticipant" with values {"7", "4", "1"}, at runtime, 'arrayOfPointsGainedByParticipant(1)' would return the value '4' with the data type 'String'. Arrays in .NET, which UiPath uses, are zero-indexed.
Reveal Solution Next Question