单项选择题

在PreparedStatement接口中用来设置字符串类型的输入参数的方法是()

A.setInt方法
B.setString方法
C.executeUpdate方法
D.execute方法