+ 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
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.
+ 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