**preparestatement method in java** It is used to execute parameterized query. String sql="insert into emp values(?,?,?)";