Results 1 to 2 of 2

Thread: Question...Multiple Inheritance

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    Question...Multiple Inheritance

    New to VB.net

    ".NET doesn't support multiple inheritance. But it does support mulitple inheritance with interfaces"

    what does this mean..can someone give any simple example for Mulitple inheritance with interfaces please....

    thank you
    nath

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    That means that while you can only inherit from one base class at a time you can implement more than one interface.

    Public Class OneInherit
    Inherits MyBaseclass

    Public Class MultipleInterfaces
    Implements IInterface1, IInterface2, IInterface3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width