Bookmark Topic Watch Topic
  • New Topic

How can methods be called on Connection Interface -?

 
Nischal Tanna
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Nischal Tanna
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry friends Just posted in the wrong forumn..shall discuss this question in jdbc forumn
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
OK, I'll close this one.
 
    Bookmark Topic Watch Topic
  • New Topic