aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "interface" Watch "interface" New topic
Author

interface

Sadaf Zaidi
Greenhorn

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: 1506
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.


Bosun (SCJP, SCWCD)
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: http://aspose.com/file-tools
 
subject: interface
 
Similar Threads
Time Capsule
Home interface or Home Interface stub
Regarding Interfaces
Writing an Interface
How To Call Two Different Classes From the Main Program Using the Same API?