I created a for loop in java with string variabe. I want to add a character to the variable until that variable is equal to a set of characters. I created that for loop. No errors was shown in console. But also no output "( Where did I wrong?
for (String s = "*"; s == "* * * *"; s += " *") {
System.out.println(s);
}