this.isMin.uk


scala에서 괄호 없이 함수를 선언할 수 있다

abstract class Element {
  def contents: Array[String]
  def height: Int = contents.length
  def width: Int =
    if (height == 0) 0 else contents(0).length
}

var height = Element.height``` [출처](https://www.artima.com/pins1ed/composition-and-inheritance.html#i1343251059-1:~:text=Listing%2010.2%20%2D%20Defining%20parameterless%20methods%20width%20and%20heigh
Scala, Til