To print quotes in Java, you need to use the escape character \ to indicate that the quote is part of the string and not the end of the string.