John AnselmoPro Student 2,281 Points
println vs printf?
I accidentally put in System.out.println("The dispenser is %s %n", dispenser.getCharacterName()); and it didn't work. I noticed my mistake and changed it to printf. So I'm just wondering what the difference is, why %s and %n work in one, but not the other, and if there are any other things like that for println vs printf.