|
-
Jan 18th, 2005, 07:15 PM
#1
Thread Starter
PowerPoster
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
-
Jan 20th, 2005, 02:34 PM
#2
Sleep mode
A hint :
It'd be easier for you if you look at C# keywords (explained). I'm very bad at explaining these stuff .sry
-
Jan 21st, 2005, 11:11 AM
#3
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|