|
Thread: Oop
-
Nov 12th, 2005, 05:48 PM
#3
Re: Oop
 Originally Posted by ychhuong
What are the advantages of Interface in OOP? Please give me an example to show that using Interface is better than one without using Interface.
An interface is used to specify a class: e.g. if your class implements the interface Runnable, it's considered as a threading class
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
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
|