let pad1 = iPad()
pad1.id = "0901122333"
pad1.type = "iPad mini"
pad1.capacity = 16
let pad2 = iPad()
pad2.id = "1112223330"
pad2.type = "iPad air"
pad2.capacity = 16
let pad3 = iPad()
pad3.id = "0009998882"
pad3.type = "iPad air"
pad3.capacity = 32
println("\(pad1.id)")
println("\(pad1.type)")
println("\(pad1.capacity)")
println("\(pad1.madeIn)")
println("\(pad2.id)")
println("\(pad2.type)")
println("\(pad2.capacity)")
println("\(pad2.madeIn)")
println("\(pad3.id)")
println("\(pad3.type)")
println("\(pad3.capacity)")
println("\(pad3.madeIn)")
沒有留言:
張貼留言