TOC
show

Swift program to create an array with mixed data elements
// Swift program to create an array
// with mixed data elements
import Swift
var student: [Any] = [101,"Herry", 25000]
print(student)
Output
[101, "Herry", 25000]
...Program finished with exit code 0
Press ENTER to exit console.