Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

25 lines
388B

  1. interface Shape
  2. method area() as word
  3. method area() as word
  4. method name()
  5. end interface
  6. class Box implements Shape
  7. word size
  8. public byte size
  9. public word area
  10. public method size() as word
  11. return 0
  12. end method
  13. public method area() as word
  14. return 0
  15. end method
  16. private method area()
  17. end method
  18. method name()
  19. end method
  20. end class
  21. program Main
  22. end program

Powered by TurnKey Linux.