Published on October 31, 2017 by ProgrammingKnowledge
Want create site? Find Free WordPress Themes and plugins.

Find code here :
So what is a loop ?
loops allow us to execute a statement or a block of statements multiple times. Like conditional statements, they are controlled by boolean expressions.

The for comprehension

Scala’s for is much more powerful than Java’s for
Consequently, it is used much more often than the other kinds of loops
Prints the numbers 1 through 10
Prints the numbers 1 through 9
Prints all the values in myArray
Prints all the values in myArray
Prints all the even numbers in myArray
My Website –
My Blog –
My Facebook Page –
Google+ –
Twitter –
Pinterest –
Text Case Converter –
Epoch Timestamp Converter –
Decimal – Binary – Hexadecimal Converter –
8-bit Checksum Calculator –

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

2 Comments on "Scala Tutorial 9 – Scala For Loop"

Notify of

Mahendrasinh Rana
Mahendrasinh Rana
8 days 13 hours ago

It will be great if you upload videos on Eclipse scout

Md ilyas
Md ilyas
17 days 14 hours ago

Hi sir can you please upload video business management software making tutorial I am trying to make it as same please reply me