Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Extending from two classes

    Hi Gurus, in Mata how do I extend more than one Class ? is It possible ?

    Code:
    class MyClass extends testcase,libjson {
    ....
    }
    thks,

  • #2
    No guru, but, no, Mata doesn't have multiple inheritance. It doesn't have interfaces, either. Is there some reason why you can't accomplish via composition whatever it is you're trying to?.

    Comment


    • #3
      No, Just out of curiosity. Thanks Joseph.

      Comment

      Working...
      X