JDBC Statement vs PreparedStatement

  • 05 April 2016
  • ADM

JDBC Statement vs PreparedStatement with example. Comparison between around SQL Injection using SELECT query.


If statement vs try catch block

  • 07 March 2016
  • ADM

Real live comparison:

If statement is like walking on the cliff, on each step you need to check your stability otherwise you may fall into abyss.

Try/catch block is like walking on the street, you don't have to care about the road on each step, only when there is an obstacle (something exceptional is happening).