InterviewSolution
Saved Bookmarks
| 1. |
List down three ways in which we can append two arrays in ios Swift. |
|
Answer» Let US consider that the two arrays are DECLARED as FOLLOWS: var firstArray = ["Sonal", "RAHUL"]let secondArray = ["Nawaz", "Riya"]A thing to be noted is that the first ARRAY has been kept mutable so we can append the second array to it. The three ways in which we can append the second array to the first one are as follows:
|
|