Generate Strings of Set Length
String s1 = new String();
String s2 = new String(“*”);
int count = 0 ;
while (count < 10)
{
S1 = new String(s1 + s2);
Count++;
}
Previous slide
Next slide
Back to first slide
View graphic version