parent
e444203b81
commit
6354d80dab
|
@ -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 {
|
||||
|
||||
}
|
Loading…
Reference in New Issue