What is the output produced by the following statement? Explain.

```
System.out.println ("He thrusts his fists\n\tagainst" +
" the post\nand still insists\n\the sees the \"ghost\"");
```

The output produced is:
He thrusts his fists
against the post
and still insists
he sees the "ghost"
Escape characters are used to go to the beginning of new lines (\n), to tab (\t), and to print quotation marks (\").

Computer Science & Information Technology

You might also like to view...

In a table, you can insert a formula to perform simple calculations

Indicate whether the statement is true or false

Computer Science & Information Technology

In the UML, a try block is called a(n) ____________________ node.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology