Results 1 to 3 of 3

Thread: derive, interface, abstract etc.. etc..

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    derive, interface, abstract etc.. etc..

    hi there

    i most probably know the answer to this one, but it has been long since i have looked at notes etc... plus its on a different platform - but i guess the termonology is the same

    anyway


    what are things like abstract classes and what do ppl mean by "derived" classes etc...

    i know what an interface is - its a "standard" type of class, which has methods...when implemented into another class, it copies over the interfaces methods

    and the interface cannot be made of an instance(?)

    thanks - ps some samples would be great

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    A hint :
    It'd be easier for you if you look at C# keywords (explained). I'm very bad at explaining these stuff .sry

  3. #3
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861

    Re: derive, interface, abstract etc.. etc..

    An "abstract" class is a class that contains functionality that will be inherited from other classes. An abstract class cannot be instantiated, it can only be inherited.

    A "derived" class is a class that inherits form another class. If I have 2 classes (A and B) A is my abstract class or Base Class and B inherits all of the functionality of class A. B is said to be "derived" from class A.
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

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