interface Life method init() method destroy() end interface class Res public method init(n as word) as word return n end method public method init() end method public method destroy(flag as boolean, more as byte) as boolean return flag end method end class class Fine method init(a as word, b as Res) end method private method destroy() end method end class program Main end program