Scala Match Expressions
Scala’s match is counterpart of Java’s switch package com.scala.test object TestMatch { def checkMatch(i: Int): String = { val str[…]
Read moreAmplify your java knowledge with javagyansite
Scala’s match is counterpart of Java’s switch package com.scala.test object TestMatch { def checkMatch(i: Int): String = { val str[…]
Read moreval vs lazy val vs def val : evaluates as soon as you initialise the object and stores the result.[…]
Read moreSingleton Object There is no static concept in Scala.A Singleton Object is a class that has exactly one instance. It[…]
Read moreUnlike an array or list, a tuple can hold objects with different types .These are also immutable. Here’s a tuple[…]
Read moreImplicit class is used to add a new behaviour to an existing object without modifying that object. These newly added[…]
Read more