单项选择题

A.int(str)
B.str.toInt()
C.convert(str,int)
D.parseInt(str)