JDBC Statement vs PreparedStatement
JDBC Statement vs PreparedStatement with example. Comparison between around SQL Injection using SELECT query.
How to convert Inputstream to String in Java
How to convert a InputStream object to String object in Java using BufferedReader and InputStreamReader classes.
If statement vs try catch block
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).
Search
Other Posts
Follow Us On