What is the difference between `Statement` and `PreparedStatement` in JDBC?
The key difference is that `Statement` is used for static SQL queries, while `PreparedStatement` is used for dynamic queries and allows parameterized SQL statements.
Good! You've got the main distinction between `Statement` and `PreparedStatement`.
Can you give an example of when you would use `PreparedStatement` over `Statement` for SQL execution?