-
Sep 16th, 2005, 11:54 AM
#1
Thread Starter
Junior Member
-
Sep 21st, 2005, 09:47 AM
#2
Hyperactive Member
Re: The meaning of Interface
An interface is a class that provides rules for classes that inherit from it.
You can inherit from multiple interfaces.
-
Sep 21st, 2005, 11:29 AM
#3
Frenzied Member
Re: The meaning of Interface
Maybe someone can enlighten us further by describing the difference between abstract and interface classes
-
Sep 21st, 2005, 12:02 PM
#4
Re: The meaning of Interface
An interface is just a template. It does not implement any functions at all. But it makes sure that every class that inherits from it, is BOUND to have the functions listed in the interface.
An abstract class means that you can not instansiate objects from it. It does not mean that you can't have non abstract functions in the class. But for an intercace all functions are implisitly abstract.
Summary:
- Interface does not have any implementation at all. An abstract class can have non abstract methods that has implementation.
- A class can inherit from as many interfaces as you want. But for simplicity, a class can only inherit from ONE abstract class.
Hope I got it all. Questions are welcome.
- ØØ -
-
Sep 21st, 2005, 12:13 PM
#5
Frenzied Member
Re: The meaning of Interface
Now that make sense. Thanks NoteMe
Hey, anyone know about a proper walkthrough that take you through the process of let you create a application using all the OOP concepts, and implementations of them in C#. I'm sure one will get a lot by searching, just asking if someone knows a good one.
-
Sep 21st, 2005, 12:17 PM
#6
Re: The meaning of Interface
I am not 100% sure what you are asking for. Is it tutorials? Well if so I have bookmarked what I skimmed through when I started C# a couple of months ago. It contains tutorials for all the big aspects of C#. And OOP.
http://www.csharp-station.com/Tutorial.aspx
- ØØ -
-
Sep 21st, 2005, 08:22 PM
#7
Frenzied Member
Re: The meaning of Interface
For example : example
Would like to find a tutorial / walkthrough kind of thing demonstrating using OOP at advanced level.
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
|