class ClassName {
/* 구현부 */
}
class Sample {
// 가변 프로퍼티
var mutPro: Int = 100
// 불견 프로퍼티
let immutPro: Int = 100
// 타입 프로퍼티
static var typePro: Int = 100
// 인스턴스 메서드
func insMethod() {
print("indMethod")
}
// 타입 메서드
// 재정의 불가 타입 - static
static func typeMethod() {
print("type - static")
}
// 재정의 가능 타입 - class
class func classMethod() {
prict("type - class")
}
}