Scala – Traits
Similar to an interface, a trait in Scala is a collection of abstract and non-abstract methods. A trait can be created with all of its …
Scala Programing Tutorials
Similar to an interface, a trait in Scala is a collection of abstract and non-abstract methods. A trait can be created with all of its …
In this lesson, you will learn how to us arrays in Scala. Array in Scala works similar to arrays in Java, so let’s go ahead …
In this lesson, you will learn about how to manipulate strings in Scala. Strings in Scala just like in Java are immutable, meaning that they …
A closure in Scala is a function and the concept of closure is quite clear. However I have decided to discuss closure under its own …
In this lesson, we would complete our discussion functions. You will learn the following Anonymous Functions Partially Applied Functions Higher-Order Functions (HOD) Currying Functions …
In this lesson, we would be covering function call by-value parameters. We would cover the following: Function Call by Name Functions With Variable Parameters Functions …
In this lesson, you will learn how functions work and how to write and call functions in Scala. A function in Scala is a collection …
In this lesson we would learn how to work with loops in Scala. A loop allows you to execute a particular block of code repeatedly …
In this chapter, you will learn how to use conditional statements. We would cover the following conditional statements: if Statement if-else Statement Multiple if-else Statement …
In this lesson, you will learn about the operators in Scala. An operator is a symbol that is used to perform certain operations on values …