要声明一个长度为256个字符的定长字符串变量str,下列语句正确的是()
A:dim str as string
B:dim str as string(256)
C:dim str as string[256]
D:dim str as string*256
出自:计算机科学