|
-
February 28th, 2000, 01:38 AM
#1
Doubt about Interfaces
Hi,
I have a doubt regarding interfaces. As far as I know, methods of an interface do not have a body. The implementation of these metods have to be written by the programmer, as in the case of the MouseListener interface (i.e. when my class extends the MouseListener interface, I have to write the mouseClicked... methods)
But in the case of the ResultSet, Connection, AppletContext etc interfaces, I do not have to write the code for the methods in these interfaces. (for eg, when I say rs.next(), the resultset pointer points to the next record of the resultset.) Where is the implementation of these methods written. I have tried to look into the source code but to no avail.
Thanks,
Abu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|