题目内容
(请给出正确答案)
[单选]
有语句String s=”hello world”; ,以下操作哪个是不合法的?
A、int i=s.length();
B、 s>>>=3;
C、 String ts=s.trim()
D、 String t=s+”!”;
查看答案
A、int i=s.length();
B、 s>>>=3;
C、 String ts=s.trim()
D、 String t=s+”!”;
A、int i=s.length();
B、s>>>=3;
C、String ts=s.trim();
D、String t=s+”!”;
A、int n=int.Parse(s)
B、int n=int.ValueOf(s)
C、int n=Convert.ToDouble(s)
D、int n=Convert.ToInt32(s)
A、im s as integer
B、im s as string
C、im s as double
D、im s as long
A、Dim text As String
B、If f Then x=x*x+1
C、s="cd"+3
D、s=Mid("abc123",3)