0
вот пример:Интерполяция Simulation (String форматирование)
int n1 = 20;
int n2 = 40;
String output = String.format("Some guy is **%d** years old while the other is **%d** ", n1, n2);
System.out.println(output);
Почему это не работает?