Define
abstract class Shape{ def getArea():Int }
Extend the abstract class
class Rectangle(m: Int, n: Int) extends Shape{ def getArea(): Int = m * n }
Note: The abstract class cannot be instantiated