public class Strength3 extends ConsoleProgram {
private static String[] blank;
private static String it;
public void run(){
blank = new String[5];
for (int i=0; i<5;i++){
blank[i] = "-";
it+=blank[i];
}
println(it);
}
}
why does it print 'null' first. all i want is just 5 hyphens...thanks