What will happen if reverse() and join() methods are used simultaneously ?
A
Reverses and stores in the same array
B
Reverses and concatenates the elements of the array
C
Reverses
D
All of the mentioned
Correct Answer: Reverses and stores in the same array
The reverse() followed by a join() will reverse the respective array and will store the reversed array in the memory.