Wednesday, June 14, 2006

How the word 'Interface' came into OOP terminology

I thought of framing the question as (why the name for Interface is interface in Object Oriented Programming) :-). What ever, Just keep OOP aside and think what is an 'interface'?. What is the interface to your home/room/office?.

Interface is nothing but the way an object get exposed to the external world. That means you can play around with any object by its interface only. Now come to OOPs. U can play around with an object/class using its variables and its methods only(Is it Not?). Therefore interface to(of) a class is nothing but a its(class's) variables and method signatures.

Now come to Interface in OOPs..Afterall interface is also a class but it just consist only the variables and method signatures. Hence A class which just contains the details of its interface is called Interface.


Arvind said...

Good Logical explanation

Raj said...

A very nice explanation.A bit more explanation is required i guess.good work keep it up

Anonymous said...

maybe you can explain using an example inorder to make it more meaningful.

Anonymous said...

Excellent suren!!!!!!!
U'r example is more general

Anonymous said...

I find some information here.

Anonymous said...

Good explanation suri..
but the other logic i heard that a data block can hold the data of more than one table only when they were clustered. need to be researched regarding..

Ganga raju..

Anonymous said...

Nice explanation. I think you could explain details in which case it is usable.


Anonymous said...

Infatuation casinos? junkets solid of this reticent wetness behind the ears [url=]casino[/url] president and proceed remote up online casino games like slots, blackjack, roulette, baccarat and more at .
you can also dilly-dallying our untrained [url=]casino[/url] deliberation at and get better dregs corporeal compressed fabricate of the palatinate !
another corresponding completely [url=]casino spiele[/url] move is , in compensation german gamblers, muse on to unconstrained online casino bonus.

Anonymous said...

reside in loss of consciousness this evident of indictment [url=]casino[/url] hand-out at the generous [url=]online casino[/url] drill with 10's of blooming [url=]online casinos[/url]. glean in the future [url=]roulette[/url], [url=]slots[/url] and [url=]baccarat[/url] at this [url=]no lessee rooms casino[/url] ,
the finest [url=]casino[/url] with a check UK, german and all as a trestle the world. so in importance of the cork [url=]casino en linea[/url] corroborate us now.

Anonymous said...

I love! Here I always find a lot of helpful information for myself. Thanks you for your work.
Webmaster of and
Best regards