What
is an Interface ?
Interfaces are
the contracts in the outside world.
What
it mean ?
Take an
example, let us assume, there is a standard for all mobile phones, As
per the standard, below are the basic functionality for the mobile
phones to provide.
Vendor1
provides the functionality for the mobile in language JAVA
Vendor2
provides the functionality for the mobile in language C++
Vendor3
provides the functionality for the mobile in language JAVA
Vendor4
provides the functionality for the mobile in language C
that
mean all the vendors providing the same functionality, but the way
they are providing is different.
One
more example is IBM JAVA, Oracle JAVA are providing the functionality
for JAVA, but the way they implemented the features is different.
No comments:
Post a Comment