Last active
October 1, 2021 10:05
-
-
Save AppleCEO/4c1c01d23088e4d0d64222147724a148 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SmartPhone { | |
let inch: Double | |
let isFolded: Bool = false | |
init(inch: Double) { | |
self.inch = inch | |
} | |
func call(to: String) { | |
print("calling to \(to)") | |
} | |
func showYoutube() { | |
print("Watching Youtube") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment