Damn! Piet beat me to it showing you can call the method twice. Well done, Piet.
Piet Souris wrote:. . . what do you notice if you have this main(): . . .
MS is not a native English speaker
Mike Savvy wrote:(3) Do not really understand what is the difference between \n and %n.
Mike Savvy wrote:(2) "method to append tne int directly as a code point and obviate the (cast)?" -> Which method do you mean?
StringBuilder#appendCodePoint(int) more likely
Knute Snortum wrote:. . . Scanner#appendCodePoint(int) . . .