As in a stutter the number of times specified by the provided multiplier if the text was \"dean\" and the multiplier 3, the result would be \"ffffdeeeaaannn\".
You are repeating the whole word here .. a possible fix is
public static void repeatLetters()
{
String text = "dean";
int n = 3;
StringBuilder repeat = new StringBuilder();
for (int i = 0; i < text.length() ; i++)
{
for (int j= 0; j< n; j++)
repeat.append(text.charAt(i));
}
System.out.println(repeat);
}