Inheritance & Interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gaya3
    New Member
    • Aug 2007
    • 184

    Inheritance & Interface

    Hi all,
    please dont mistake me...
    is it possible for interface to extend a class ??
    something like..
    interface InterfaceExampl e extends Someclass

    please do needfull..
    Thanks in Advance..

    -Hamsa
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by gaya3
    Hi all,
    please dont mistake me...
    is it possible for interface to extend a class ??
    something like..
    interface InterfaceExampl e extends Someclass

    please do needfull..
    Thanks in Advance..

    -Hamsa
    No, it is not possible.

    kind regards,

    Jos

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by gaya3
      Hi all,
      please dont mistake me...
      is it possible for interface to extend a class ??
      something like..
      interface InterfaceExampl e extends Someclass

      please do needfull..
      Thanks in Advance..

      -Hamsa
      You could have tried it first.
      I believe that reading compiler error messages contributes thirty percent towards learning a language.

      Comment

      • kreagan
        New Member
        • Aug 2007
        • 153

        #4
        Originally posted by r035198x
        You could have tried it first.
        I believe that reading compiler error messages contributes thirty percent towards learning a language.
        And guess and check adds to 20%!

        Comment

        • JosAH
          Recognized Expert MVP
          • Mar 2007
          • 11453

          #5
          Originally posted by kreagan
          And guess and check adds to 20%!
          Mwah, reading and practicing simply add up to 60%+35% and experience completes
          it with an extra 5%. There is no silver bullet here.

          kind regards,

          Jos

          Comment

          Working...