开发者

inheritance in boo

if boo language is 100% compatible with c#,how can i have inheritance in 2 boo fil开发者_StackOverflowe like two c# class?


Boo is a CLR language just like C#. Assuming that references are properly resolved, inheritance is as simple as:

class A(B): // class A inherits from B

For more information, see http://docs.codehaus.org/display/BOO/Part+08+-+Classes

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜