单选题:For code below, the result would be?
For code below, the result would be? @[B](2)
```Java
String s = " Welcome to Zhejiang University ";
s.trim();
System.out.println(s.startsWith("Welcome"));
```
A. true
B. false
C. Compile error
D. Run-time exception
A.true
B.false
C.Compile error
D.Run-time exception
答案:B
```Java
String s = " Welcome to Zhejiang University ";
s.trim();
System.out.println(s.startsWith("Welcome"));
```
A. true
B. false
C. Compile error
D. Run-time exception
A.true
B.false
C.Compile error
D.Run-time exception
答案:B