Last active
February 16, 2020 11:12
-
-
Save mohamadhadibi/e87706dd139020a81fd1c35ecf1f0fe7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Test | |
fun setRam(){ | |
val laptop = Laptop("lenovo") | |
try { | |
//laptop.ram = 2 | |
println("ram: ${laptop.ram}") | |
laptop.getLaptopPad() | |
println("ram after config: ${laptop.ram}") | |
}catch (e:Exception) {e.printStackTrace()} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment