Whats the difference between Interface and Method?

Bogdan Lotko boguslaw.lotko at chello.at
Wed Aug 29 01:15:53 PDT 2012


Hi,

Or a little bit less culinary explanation:

The interface describes signatures of methods.

with best regards,

bogdan


On 8/29/2012 10:00, Thiago Macieira wrote:
> On quarta-feira, 29 de agosto de 2012 05.27.58, pramoda.subraya at wipro.com
> wrote:
>> Can anybody explain the difference b/w Interface and the Method. I am trying
>> to understand. Please...
> An interface contains methods.
>
> It's like asking the difference between a cookie and a packet of cookies. Also
> note that, after you eat the cookies, the packet of cookies contains 0 cookies
> (an interface can contain 0 methods, though I don't recommend eating them).
>
>
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus


-- 

*Bogdan Lotko*

b.lotko at chello.at
Phone: +43 1 2852458
Mobile: +43 676 6615012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20120829/ced3bdfc/attachment.html>


More information about the dbus mailing list