package o1.shapes

// This class is introduced in Chapter 7.3; we add "open" to it in Chapter 7.5.

open class Rectangle(val sideLength: Double, val anotherSideLength: Double) extends Shape:
  def area = this.sideLength * this.anotherSideLength

