Re: Interface/abstract module syntax
Friday, May 4, 2001 07:33 AM
PreparedStatement is an Inteface and you can not directly say
PreparedStatemet pstmt=new PreparedSattement(sql);
The statement cx.prepareStatement(sql) will give an object with
knows how to execute the abstract methods in the Interface.
another point to note is that much of the information intially needed
to create PreparedStament is provided by the Connection object