a:Array = Array(1,2,3,4) @annotation abstract class Square { def alpha(x:Int, y:Int) { } } trait Green { def getColor: 'green } class GreenSquare(width:Int, height:Int) extends Square with Green { }