Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift nal Within The Same Module

class Student {

  // define internal property
  internal var name = "Tim Cook"
}

// create object of Student class
var student1 = Student()
  
// access name property
print("Name:", student1.name)
 
PREVIOUS NEXT
Tagged: #Swift #nal #Within #The #Same #Module
ADD COMMENT
Topic
Name
2+6 =