Scala Case Class and Class
Channel:
Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=HqQfXUyACHw
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
Other Videos By Mike Møller Nielsen
Tags:
scala
functional programming
case class