单项选择题

以下哪个方法可以将字符串"123"转换为整数?()

A.int("123")
B.float("123")
C.str("123")
D.list("123")