This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes How can methods be called on Connection Interface -? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

How can methods be called on Connection Interface -?

Nischal Tanna
Ranch Hand

Joined: Aug 19, 2003
Posts: 182
Hi Friends,
I have a small query worth mentioning in this forumn.

We all know Connection (java.sql) is an interface. Then how can we call a method like close() on an interface reference. I mean where are these methods being referred from..Any1 knowing the reason for the same kindly help me...


Thanks & Regards,
Nischal


Thnx
Nischal Tanna
Ranch Hand

Joined: Aug 19, 2003
Posts: 182
Sorry friends Just posted in the wrong forumn..shall discuss this question in jdbc forumn
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

OK, I'll close this one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can methods be called on Connection Interface -?
 
Similar Threads
interface's object
Please explain my problem
How can we create object of Connection Interface.
JDBC
Marker Interface