网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)
A

_Left

B

Left_

C

Left

D

eft


参考答案

参考解析
解析: 暂无解析
更多 “单选题下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)A _LeftB Left_C LeftD eft” 相关考题
考题 如果String s1=“Chongqing”,则运行代码String s3=s1.substring(2,4)后s3的值为() A、honB、hoC、onD、ngq

考题 下面可以正确定义2个整形变量和1个字符串变量的语句的是( )。A.Dim n,m AS Interger,s AS StringB.Dim a%,b$,c AS StringC.Dim a AS Integer,b,c AS StringD.Dim x%,y AS Integer,z AS String

考题 下面可以正确定义两个整型变量和—个字符串变量的语句是______。A.Dim n,m As Integer,s As StringB.Dim a%,b$,c As StringC.Dim a As Integer,b,c As StringD.Dim x%,y As Integer,z As String

考题 ( 11 )下面可以正确定义 2 个整形变量和 1 个字符串变量的语句的是( )A ) Dim n,m AS Interger,s AS StringB ) Dim a%,b$,c AS StringC ) Dim a AS Integer,b,c AS StringD ) Dim x%,y AS Integer,z AS String

考题 假设有如下的记录类型: Type Student number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是______。A.Student. name="" s. name="张红"B.Dim s As Student s. Dame="张红"C.Dim s As Type Student s. name="张红"D.Dim s As Type s. name="张红"

考题 Dim s As String,则运行时变量s的初始值是 ()。

考题 设有如下的记录类型: TypeStudent number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是( )。A.Student.name="张红"B.Dim s As Student s.name="张红"C.Dim s As Type Student s.name="张红"D.Dim s As Type s.name="张红"

考题 下述代码A和B正确的值是() Dim X As String = "123"  Dim Y As Integer = 123  Dim A As String = X + Y  Dim B As String = X  YA“246”,“123123”B246,“123123”C“123123”,“123123”D123123,“123123”

考题 下面这段代码中,变量myInteger的结果是()。 Dim myString As String="ABCDE" Dim myInteger As Integer myInteger=myString.IndexOf("D")A、0B、1C、2D、3E、4

考题 下面这段代码中,变量myChar的结果是()。 Dim myString As String="ABCDE" Dim myChar As Char myChar=myString.Chars(3)A、AB、BC、CD、DE、E

考题 下面这段代码中,变量subString的结果是()。 Dim aString As String = "Left Center Right" Dim subString As String subString = Mid(aString, 13)A、"_Right"B、"Right_"C、"Right"D、"Left Center_"E、"Left Center"F、"_Left Center_"G、"Left Center R"

考题 简要分析String的subString()方法造成内存泄漏的原因。

考题 下面是VB中有效的注释语句是()A、//Dim a As StringB、/Dim a As StringC、‘Dim a As StringD、“Dim a As String

考题 在VB语言中,下列定义变量语句格式正确的是()。A、Dim As String xuehaoB、Dim xuehao As StringC、Dim String As xuehaoD、Const xuehao As String

考题 下述代码A和B正确的值是() Dim X As String = "123"  Dim Y As Integer = 123  Dim A As String = X + Y  Dim B As String = X  YA、“246”,“123123”B、246,“123123”C、“123123”,“123123”D、123123,“123123”

考题 下面这段代码中,变量myChar的结果是()。 Dim myString As String = "ABCDE" Dim myChar As Char myChar = myString.Chars(3)A、BB、CC、DD、E

考题 下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)A、"_Left"B、"Left_"C、"Left"D、"eft"

考题 要声明一个长度为256个字符的定长字符串变量str,下列语句正确的是()A、dim str as stringB、dim str as string(256)C、dim str as string[256]D、dim str as string*256

考题 定义变量的语句Dim abc As String*3是正确的。

考题 下面是VB中有效的注释语句是()A、//Dim a As StringB、/Dim a As StringC、‘Dim a As StringD、Rem Dim a As String

考题 下面哪个不是String类的方法?()A、subString()B、startsWith()C、toString()D、toUpperCase()

考题 单选题下述代码A和B正确的值是() Dim X As String = "123"  Dim Y As Integer = 123  Dim A As String = X + Y  Dim B As String = X  YA “246”,“123123”B 246,“123123”C “123123”,“123123”D 123123,“123123”

考题 多选题下面是VB中有效的注释语句是()A//Dim a As StringB/Dim a As StringC‘Dim a As StringDRem Dim a As String

考题 单选题下面这段代码中,变量myInteger的结果是()。 Dim myString As String="ABCDE" Dim myInteger As Integer myInteger=myString.IndexOf("D")A 0B 1C 2D 3E 4

考题 单选题下面这段代码中,变量subString的结果是()。 Dim aStringAs String="Left Center Right" Dim subStringAs String subString=aString.SubString(1,4)A _LeftB Left_C LeftD eft

考题 单选题下面是VB中有效的注释语句是()A //Dim a As StringB /Dim a As StringC ‘Dim a As StringD “Dim a As String

考题 单选题下面这段代码中,变量myChar的结果是()。 Dim myString As String = "ABCDE" Dim myChar As Char myChar = myString.Chars(3)A BB CC DD E

考题 单选题下面这段代码中,变量subString的结果是()。 Dim aString As String = "Left Center Right" Dim subString As String subString = Mid(aString, 13)A _RightB Right_C RightD Left Center_E Left CenterF _Left Center_G Left Center R