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
Answers
Answered by
0
Hi there,
The reverse() followed by a join() will reverse the respective array and will store the reversed array in the memory.
Option A is correct.
The reverse() followed by a join() will reverse the respective array and will store the reversed array in the memory.
Option A is correct.
Answered by
0
______✨ HEY MATE ✨______
➡️ Option (A) Reverses and stores in the same array is the right answer ✔️
➡️ Option (A) Reverses and stores in the same array is the right answer ✔️
Similar questions
English,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago