Swift Tutorial - Tutorialspoint

(backadmin) #1
println(stud1Mark1.InternalMarks)

stud1Mark2.InternalMarks = 87

println(stud1Mark2.InternalMarks)

When we run the above program using playground, we get the following result:


97
87
Free download pdf