By separating SQL logic from data. Frame the concept in practical terms so you can explain it during interview discussion.
PreparedStatements prevent SQL injection by using placeholders for input values and binding these values separately. This ensures that user input is treated as data, not executable SQL, regardless of its content. For example, `SELECT * FROM users WHERE username =?` ensures safe handling of usernames.