单选题
Visual Basic数据类型中,占用内存最小的是( )。
A、
Integer
B、
Boolean
C、
Single
D、
Byte
【正确答案】
D
【答案解析】
解析:在Visual Basic中,整数(Integer)占用2个字节;布尔(Boolean)占用2个字节;单精度浮点型(Single)占用4个字节;字节(Byte)占用1个字节;故D选项正确。
提交答案
关闭