| Author |
What is the idea behind all classes as interfaces in JDBC
|
chenna kesava koyyagura
Greenhorn
Joined: Nov 25, 2007
Posts: 3
|
|
hi friends, please let me know what is the idea behind all classes in jdbc are interfaces?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
It allows vendors of database systems to provide their own implementations which are specificly for those systems, yet users can write their code once without having to change much - only the driver class and the connection string. Sure, some of it could have possibly been put in abstract classes, but it would have been so very little it hardly justifies having an abstract class.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: What is the idea behind all classes as interfaces in JDBC
|
|
|