G
Guest
Good Morning:
I have a simple question I was hoping someone can help me understand. In
Visual Basic.Net when is it best to use an Interface compared to using
Inheritance? For example, if I have a class called PERSON and create other
classes one being EMPLOYEE and another being STUDENT and PERSON holds members
and maybe 1 function that EMPLOYEE and STUDENT uses is it best to use
Inheritance? Better yet, can I use an Interface and Inheritance? Let me know
you opinions and comments are greatly appreciated.
I have a simple question I was hoping someone can help me understand. In
Visual Basic.Net when is it best to use an Interface compared to using
Inheritance? For example, if I have a class called PERSON and create other
classes one being EMPLOYEE and another being STUDENT and PERSON holds members
and maybe 1 function that EMPLOYEE and STUDENT uses is it best to use
Inheritance? Better yet, can I use an Interface and Inheritance? Let me know
you opinions and comments are greatly appreciated.