That's because String literals are indicated by quotation marks, so when the compiler reaches the second quotation mark, it thinks you want to close the String, and it can't make sense of the rest of...
Type: Posts; User: KevinWorkman
That's because String literals are indicated by quotation marks, so when the compiler reaches the second quotation mark, it thinks you want to close the String, and it can't make sense of the rest of...
Well, your exception is caused because you're passing an int when you've specified that you'd pass a String instead. You're not using the printf function correctly, which makes me think that you...
Recommended reading: Formatter (Java Platform SE 6)
That should help you decipher what's going into printf. If you're still having trouble, I suggest you throw together a really basic SSCCE...