25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- interface Shape
- method area() as word
- end interface
-
- class Box implements Shape
- byte b
- boolean ok
- char c
- word w
- integer i
- word[3] nums
- byte[2] flags
- Shape s
- Box next
- Shape[2] many
- Box[2] kids
-
- public method area() as word
- return 0
- end method
- end class
-
- class Empty
- end class
-
- program Main
- end program
|