You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
418B

  1. interface Life
  2. method init()
  3. method destroy()
  4. end interface
  5. class Res
  6. public method init(n as word) as word
  7. return n
  8. end method
  9. public method init()
  10. end method
  11. public method destroy(flag as boolean, more as byte) as boolean
  12. return flag
  13. end method
  14. end class
  15. class Fine
  16. method init(a as word, b as Res)
  17. end method
  18. private method destroy()
  19. end method
  20. end class
  21. program Main
  22. end program

Powered by TurnKey Linux.