diff --git a/code_examples/example.scala b/code_examples/example.scala new file mode 100644 index 0000000..0252057 --- /dev/null +++ b/code_examples/example.scala @@ -0,0 +1,15 @@ +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 { + +}