This chapter introduces control and iteration in Scala. In Scala, as in many other languages, the mainstay of the control and iteration processes is the ifand switchstatements and the forand whileloops.
CITATION STYLE
Hunt, J. (2018). Control and Iteration. In A Beginner’s Guide to Scala, Object Orientation and Functional Programming (pp. 171–186). Springer International Publishing. https://doi.org/10.1007/978-3-319-75771-1_17
Mendeley helps you to discover research relevant for your work.