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
Answer:A
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