import java.util.Formatter;
publicclass MainClass{
publicstaticvoid main(String[] argv){
StringBuilder sb = new StringBuilder();
Formatter f = new Formatter(sb);
boolean b = false;
f.format("The value is %b, so there.", b);
System.out.println(sb);
}
}