aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Please explain my problem
JDBC
Marker Interface
How can we create object of Connection Interface.
interface's object