# Outputting Quotes in Java

**URL:** <https://forum.kirupa.com/t/outputting-quotes-in-java/178495>\
**Category:** random\
**Created:** [February 11, 2006, 1:23am UTC](https://forum.kirupa.com/t/outputting-quotes-in-java/178495 "2006-02-11T01:23:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [February 11, 2006, 1:23am UTC](https://forum.kirupa.com/t/outputting-quotes-in-java/178495/1 "2006-02-11T01:23:41Z")

</div>

Java seems to be confused about outputing ". Take for example:

```auto

System.out.println("this program " won't compile");

```

Is there another way to represent these quotes? My main purpose is to let Java automatically write a 300 line HTML page, and as all of you know, HTML uses quotes.
