0 votes
in Swift by
What is the difference between Array and NSArray?

1 Answer

0 votes
by

The difference between Array and NSArray are given below:

An array can hold only one type of data, whereas NSArray can hold different types of data.

An array is a value type, whereas NSArray is an immutable reference type.

Related questions

0 votes
asked Nov 8, 2022 in Swift by SakshiSharma
0 votes
0 votes
asked Nov 8, 2022 in Swift by SakshiSharma
...