单项选择题

怎么计算字符串的字符数?()

A."1234567".getLength()
B."1234567".Length
C."1234567".length
D."1234567".length()