Menu
Question Index
...

Given a string constructed by calling s = new String("xyzzy"); which of the calls modifies the string?


s.append("aaa");
s.trim();
s.substring(3);
s.replace('z', 'a');
s.concat(s);
None of the above

Doubts

Problems

Topic: Conclusion Of Strings In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App