Callable statement is that which can be called anywhere in the program. :Hi...:PreparedStatement is used to execute any query and update in database.:PreparedStatement extends the Statement interface & CallableStatement extends the PreparedStatement interface,PreparedStatement is being used when we want the execute same query again & again with different parameter , first time it will compile the query , after that it will execute the precompiled query.
Category:Java Interview Questions
No comments:
Post a Comment