Created
June 4, 2020 00:44
-
-
Save nooglersoon/5e2efa7e6cb911341537556812c8833b to your computer and use it in GitHub Desktop.
Medium Session: Introduction to Swift's OOP in Indonesia - Part 1D
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
let mobil1 = Mobil(merk: "Toyota", tempatProduksi: "Karawang") | |
print(mobil1.merk) | |
print(mobil1.tempatProduksi) | |
print(mobil1.carStatus("P")) | |
print(mobil1.startEngine()) | |
print(mobil1.carStatus("P")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment