📅  最后修改于: 2022-03-11 14:53:34.834000             🧑  作者: Mango
val mySet: Set = setOf(2,6,4,29,5,"Ashu","Ajay")
val intSet = setOf(6,4,29)
println(".......print Any set.........")
for(element in mySet){
println(element)
}
println("...mySet.contains\"Ashu\"...")
println(mySet.contains("Ashu"))
println("...mySet.contains(20)...")
println(mySet.contains(20))
println("...mySet.containsAll(intSet)...")
println(mySet.containsAll(intSet))