Scala Case Class and Class

Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=HqQfXUyACHw



Duration: 13:09
3,686 views
51


A Case class generates the toString and equals method. Furthermore an object with a creator method is created so the new keyword can be left out. See how to use case classes in this demo.
Enjoy! :-)
Feel free to comment and ask questions.
The code is located here:
https://github.com/ekim197711/springboot-scala
Follow me on twitter:
https://twitter.com/MikeMoelNielsen







Tags:
scala
functional programming
case class