Scala – Functions Call-by-Name
In this guide, we will discuss Scala Functions Call-by-Name. Typically, parameters to functions are by-value parameters; that is, the value of the parameter is determined before it is passed to…
In this guide, we will discuss Scala Functions Call-by-Name. Typically, parameters to functions are by-value parameters; that is, the value of the parameter is determined before it is passed to…
In this guide, we will discuss Scala Functions. A function is a group of statements that perform a task. You can divide up your code into separate functions. How you…
In this guide, we will diiscuss Scala break statement. As such there is no built-in break statement available in Scala but if you are running Scala version 2.8, then there…
In this guide, we will discuss Scala for loops. A for loop is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number…
In this guide, we will discuss Scala do-while Loop. Unlike while loop, which tests the loop condition at the top of the loop, the do-while loop checks its condition at the bottom of the…
In this guide, we will discuss Scala While Loop. Repeats a statement or group of statements while a given condition is true. It tests the condition before executing the loop…
In this guide, we will discuss Scala Loop Statements. This chapter takes you through the loop control structures in Scala programming languages. There may be a situation, when you need…
In this guide, we will discuss Scala If Else Statements. This chapter takes you through the conditional construction statements in Scala programming. Following is the general form of a typical…
In this guide, we will discuss Scala Assignment Operators. Try the following example program to understand all the Bitwise operators available in Scala Programming Language. Example object Demo { def…
In this guide, we will discuss Scala Bitwise Operators. Try the following example program to understand all the Bitwise operators available in Scala Programming Language. Example object Demo { def…