permaculture playing cards
The moose likes Beginning Java and the fly likes interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface" Watch "interface" New topic


Sadaf Zaidi

Joined: Oct 09, 2001
Posts: 29
Anybody can please tell me about interface.How interface work.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
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.

So much trouble in the world -- Bob Marley
anis mistry
Ranch Hand

Joined: Nov 11, 2000
Posts: 52
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
I agree. Here's the link:
subject: interface
It's not a secret anymore!