+ 1

Kotlin classes

Hello i'm new on kotlin i have some work which says: i must make privete internal variable"isOn Boolean" by what will be fixed that lamp is tunrned on or not,also must be written method which make switch On/Off and mustn't be written by True or False

30th Oct 2019, 6:46 PM
Xorezm Shah
Xorezm Shah - avatar
2 Answers
+ 4
You should have been told the answers you need either in the reading or lecture prior to getting the assignment. If you code something close, I'm willing help you finish.
30th Oct 2019, 11:08 PM
John Wells
John Wells - avatar
+ 2
Not to discourage, but if you're new and learning you won't benefit from anyone handing you an answer, the links below should help 😊 https://www.sololearn.com/learn/7792/?ref=app https://www.sololearn.com/discuss/2016789/?ref=app
30th Oct 2019, 6:50 PM
will
will - avatar