Given a
string constructed by calling s = new String(“xyzzy” ) ,
which of the calls listed below modify the string? (Choose all that
apply.)
A. s.append(“aaa” ) ;
B. s.trim();
C. s.substring(3);
D. s.replace(‘z’, ‘a’ ) ;
E. s.concat(s);
F. None of the above
why select "f".
can anyone tell me?
thx.
Edited to try to get rid of winkies - Barry
[ April 18, 2003: Message edited by: Barry Gaunt ]