Scala – Common code in package object
In the previous chapter, we have learnt about companion object in scala. Now, we will see what is a package object. Main objective of a package is to keep files structured and easy to...
Software Programming Guide
In the previous chapter, we have learnt about companion object in scala. Now, we will see what is a package object. Main objective of a package is to keep files structured and easy to...