Strings
Generating new strings
String s1 = new String();
s1 = new String(“*”);
Adding Strings
s2 = s1 + s1 ; // == “**”
Generating new strings from strings
s1 = new String(s1 + s2); // == “***”
Previous slide
Next slide
Back to first slide
View graphic version