有语句String s = ”hello world”;以下操作哪个是不合法的()
A.s>>>=1;
B.int i = s.length();
C.String ts = s.trim();
D.String t = s+”!”;
A.s>>>=1;
B.int i = s.length();
C.String ts = s.trim();
D.String t = s+”!”;
第1题
A.android:text=@string/"hello"
B.android:text=@string:"hello"
C.android:text="@string/hello"
D.android:text=@string/hello
第2题
A.hello world!
B.@”hello/nworld!”
C.helloWorld!
D.hello/nworld!
第3题
import java.io.*;
public class abc
{
public static void main(String args[ ])
{
AB s = new AB("Hello!","I love JAVA.");
System.out.println(s.toString());
}
}
class AB
{
String s1;
String s2;
AB (String str1 , String str2 )
{
s1 = str1;
s2 = str2;
}
public String toString() { return s1+s2;
}
}
第5题
第8题
A.grantdeleteonstudentstohello
B.grantselectonstudentstohello
C.grantupdateonstudentstohello
D.revokedeleteonstudentstohello
第9题
A.revokeselectonstudentstohello
B.revokedeleteonstudentstohello
C.denyupdateonstudentstohello
D.grantdeleteonstudentstohello
第10题
A.hello(15.3);
B.hello(float 15.3) ;
C.void hell(float 15.3);
D.void hell()=15.3;
第11题
A.public static String getAppKey();
B.public native String getAppKey();
C.public static native String getAppKey();
D.public static abstract native String getAppKey();