Which keywords are NOT reserved in Scala?
Explanation
while is just a standard loop construction which is present in Scala.
lazy keyword is used to declare a val which is executed when it is accessed the first time. More information: What does a lazy val do?
Scala leaves out commands break and continue "because they do not mesh well with function literals." More information: Living without break and continue

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Scala
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести