Jan Cumps wrote:It returns an object that implements Connection.
Thanks for replying Jan
You mean to say that there is some anonymous class that implements it?
posted 7 years ago
The implementing class is not required to be anonymous.
It is provided through the jars you keep in your classpath.
for example ojdbc14.jar or classes12.jar provided by db vendors like (oracle) or third parties that provide jdbc drivers.