Scala Notes Week 3

These are some notes from a Scala course I’m completing. See here https://www.coursera.org/learn/progfun1

Class Hierarchies

  • abstract class — allows us to define methods without a body(abstract methods)
  • extend abstract class to implement methods in it. this uses the “extends” keyword
  • persistent data structure — old version of ds is maintained even when changes are made
  • override — keyword to define a new…