I am not sure how to interpret the format method down below of the String class,ugh so confused, could someone help me with me recognize it so i can use it.
StringBuilder sb = new StringBuilder();
String[] s = new String[] { "quit", "add", "delete", "find", "change" };
for (int i = 0; i < s.length; i++) {
sb.append(String.format("| %d:%s |", i, s[i]));
}