Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
interfaces
Krishna Tota
Ranch Hand
Posts: 40
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
What is the use of interface and why we use interfaces?
Please explain in brief.
Thanks,
Krishna
Campbell Ritchie
Marshal
Posts: 79177
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This question comes up every now and again. Try
this old thread.
bell saleem
Greenhorn
Posts: 9
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Interfaces are here to specify a contract where the implementing classes should carry out.
It is like a specification where the implementors has to carry out.
any implementor can implement in his own way sticking to the contract.
Campbell Ritchie
Marshal
Posts: 79177
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Bellary Saleem, thank you for the post, which explains what was asked, and welcome to JavaRanch
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Private / Protected Interface
local interfaces on EJB Components
Question regarding Sorting
What is the use of Marker interfaces?
EJBs in the same container - pass by value (or) pass by reference ?
More...