• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

interface

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody can please tell me about interface.How interface work.
 
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly what don't you understand about them. Check out the java tutorial at sun's site. You can also use the search facility here. This has been discussed a number of times.

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a class cannot inherit two classes that is why java makers brought interfaces
a class can implement one or more interface to extends the functionality of a class
a interface is some like a class. in interface only method declaration is to be done and the class which implement this interface as to and has to write the code or the body of the method according to its need
correct me if i am wrong
bye and best of luck in programmimng career
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!