Scala – Closure
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 …
Scala Programing Tutorials
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 …
In this lesson we would be covering the three access modifiers in Scala. They are private, protected and default. For private and protected, objects and …
In this lesson, we would be learning about Object Oriented Programming(OOP) concepts in Scala. A Class is a template or blueprint for creating objects. Once …
In this lesson, we would learn about variables in Scala. Variables in Scala have the same meaning as in Java: they are memory locations. So …