Dear Friends,
I am confused that in
JDBC , Connection, Statement, ResultSet etc are all Interfaces.
We all know that interfaces have ALL methods incomplete and the one who is implementing those interfaces should complete those methods.
Then how are we able to use :
Con.createStatement();
Stmt.executeQuery(Qry1);
Rs.next();
Where Con, Stmt and Rs are references of Connection, Statement and ResultSet respectively.
Who is implementing and completing these methods?
Thanks in advance.
Regards,
Milan Doshi.