Skip to content

Category Archives: Scala

Apache Spark is a lightning-fast unified analytics engine used for cluster computing for large data sets like BigData and Hadoop with the aim to run… Read More
 Groovy : Groovy is an object-oriented high-level programming language that is Java syntax compatible. It is used as both programming language and scripting language for… Read More
Scala is a general-purpose, high-level, multi-paradigm programming language. It is a pure object-oriented programming language that also provides support to the functional programming approach. Scala… Read More
In the modern world, we are dealing with huge datasets every day. Data is growing even faster than processing speeds. To perform computations on such… Read More
In this project, we will build a simple Bank Management System using Scala which will perform the following task: 1) Show the existing details of… Read More
Traits are similar to Java’s interfaces. Classes and objects can extend traits, but traits cannot be instantiated and hence have no parameters. It also supports… Read More
Some of the basic Scala constructs are expressions, blocks, classes, objects, functions, methods, traits, Main methods, fields, and closures. 1. Scala Expression: A computable statement… Read More
Contra-Variance is exactly the opposite of covariance. Contra-Variance creates a similar subtyping relation between class and type parameter. So, contra-variance states that if there are… Read More
Variance is the interconnection of Sub-Typing relationships which are either of complicated types or of their constituent types. Scala provides three types of variance: Covariant… Read More
Scala is an object-oriented programming language with functional and multi-paradigm support. Scala generates byte code and runs on Java Virtual Machine. Vectors in scala are… Read More
Haskell is a general-purpose programming language that is normalized and has unadulterated practical programming features. It was developed and structured by Lennart Augustsson, John Hughes,… Read More
A set is a collection that only contains unique items. In Scala, both mutable and immutable sets are available. The mutable set is those set… Read More
In Scala, as in Java, a string is a sequence of characters. In Scala, objects of String are immutable which means a constant and cannot… Read More
Type Bounds in Scala are restrictions on type parameter or type variable. By the usage of these type bounds, we can set up limits for… Read More
Binary Search is an algorithm that helps us find an element in a sorted array in O(log n) time. Its algorithm works on the principle… Read More