|
-
Apr 14th, 2005, 09:42 AM
#1
Thread Starter
Hyperactive Member
OOP Question
Hey all,
I have a OOP question I need some advice on. I have several different classes and I need each different type of class to have access to specific identical functions. Instead of writing the functions in each class, I know that OOP specializes in this sort of thing. I first thought about writing a seperate class with all my functions and inheriting the function class into each class that needs access to these specific functions, but I can't do that since some of the classes already have parent classes and VB only allows one inherit per class. I have been doing some reading and I was wondering if I am correct in saying this is where Interfaces come into play? I have never used a interface and if this is the time to use em, can anyone lead me in the right direction?
Thanks..
Hinder
Last edited by Hinder; Apr 14th, 2005 at 09:43 AM.
Reason: Typos
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
|