Java tutorial
public class Main { public static void main(String[] args) { System.out.printf("%1$s, %2$s, and %3$s", "A", "B", "C"); } } //A, B, and C