/*****************值类型与引用类型*********************/
class animal {
var name:String?
var age:Int?
init(name:String,age:Int){
self.name = name
self.age = age
}
}
var dog = animal(name: "小
/*****************值类型与引用类型*********************/
class animal {
var name:String?
var age:Int?
init(name:String,age:Int){
self.name = name
self.age = age
}
}
var dog = animal(name: "小