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
Зарегистрируйся сейчас
или Подпишись на будущие тесты